]> git.ipfire.org Git - thirdparty/libsolv.git/commit
Avoid linker flags when not available, fixes OS X 84/head
authorClemens Lang <neverpanic@gmail.com>
Mon, 11 May 2015 17:54:51 +0000 (19:54 +0200)
committerClemens Lang <neverpanic@gmail.com>
Mon, 11 May 2015 17:54:51 +0000 (19:54 +0200)
commit81362a2fd662f912ce5a2cf9d7c678faf3cbf991
treee17c905a637d74a360676383b1adb07e2f6d67c8
parent6d55fc8eb501dc8e0daaad4e1c8a9dbb85d17386
Avoid linker flags when not available, fixes OS X

The build currently fails on OS X because the OS X linker ld64 does not
support --as-needed or --version-script. Fix this by checking whether
these flags are supported by the currently used linker and only passing
them if they are.
CMakeLists.txt
ext/CMakeLists.txt
src/CMakeLists.txt