summaryrefslogtreecommitdiff
path: root/ext/CMakeLists.txt
diff options
context:
space:
mode:
authorTomas Chvatal <tomas.chvatal@gmail.com>2013-07-24 22:15:28 +0200
committerTomas Chvatal <tomas.chvatal@gmail.com>2013-07-24 22:15:28 +0200
commitbdecd19dc2e9ffdff0a39b1c2b2b9dbccff13d1c (patch)
tree1b822a71fe9867baa63fe7e936b2b9e4c763f7c3 /ext/CMakeLists.txt
parent5d750ab67b4179b1f841126e4db4f404a24b242e (diff)
downloadlibsolv-bdecd19dc2e9ffdff0a39b1c2b2b9dbccff13d1c.tar.gz
libsolv-bdecd19dc2e9ffdff0a39b1c2b2b9dbccff13d1c.tar.bz2
libsolv-bdecd19dc2e9ffdff0a39b1c2b2b9dbccff13d1c.zip
Respect LDFLAGS on one more instance
Diffstat (limited to 'ext/CMakeLists.txt')
-rw-r--r--ext/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/CMakeLists.txt b/ext/CMakeLists.txt
index 63e0dee..e72da54 100644
--- a/ext/CMakeLists.txt
+++ b/ext/CMakeLists.txt
@@ -86,7 +86,7 @@ IF (ENABLE_HAIKU)
ENDIF (ENABLE_HAIKU)
SET (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fPIC")
-SET (CMAKE_SHARED_LINKER_FLAGS "${LINK_FLAGS} -Wl,--version-script=${CMAKE_SOURCE_DIR}/ext/libsolvext.ver")
+SET (CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} ${LINK_FLAGS} -Wl,--version-script=${CMAKE_SOURCE_DIR}/ext/libsolvext.ver")
IF (DISABLE_SHARED)
ADD_LIBRARY (libsolvext STATIC ${libsolvext_SRCS})