gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnurl] 114/208: cmake: remove spurious "-l" from linker fl


From: gnunet
Subject: [GNUnet-SVN] [gnurl] 114/208: cmake: remove spurious "-l" from linker flags
Date: Wed, 09 Aug 2017 17:35:11 +0200

This is an automated email from the git hooks/post-receive script.

ng0 pushed a commit to annotated tag gnurl-7.55.0
in repository gnurl.

commit 75c3596f75ba1d2fd2d7cc2dccf0065250cd6a7c
Author: Hannes Magnusson <address@hidden>
AuthorDate: Wed Jun 7 12:43:40 2017 -0700

    cmake: remove spurious "-l" from linker flags
    
    Fixes #1552
---
 CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 5d8b9f10f..086c37197 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1275,7 +1275,7 @@ set(LDFLAGS                 
"${CMAKE_SHARED_LINKER_FLAGS}")
 set(LIBCURL_LIBS            "")
 set(libdir                  "${CMAKE_INSTALL_PREFIX}/lib")
 foreach(_lib ${CMAKE_C_IMPLICIT_LINK_LIBRARIES} ${CURL_LIBS})
-  if(_lib MATCHES ".*/.*")
+  if(_lib MATCHES ".*/.*" OR _lib MATCHES "^-")
     set(LIBCURL_LIBS          "${LIBCURL_LIBS} ${_lib}")
   else()
     set(LIBCURL_LIBS          "${LIBCURL_LIBS} -l${_lib}")

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]