diff options
author | Manuel Jacob <me@manueljacob.de> | 2015-10-02 14:19:00 +0200 |
---|---|---|
committer | Manuel Jacob <me@manueljacob.de> | 2015-10-06 22:28:30 +0200 |
commit | c999ef70e807e672d58aa7e30af62ed8492bc2c2 (patch) | |
tree | 6ab7a83058ea1fb39597eb0236059d453ee9946a /mk | |
parent | cbc177ca013ff9d87b36074eab9de6261f37bdaf (diff) |
Don't pass "--no-copy-dt-needed-entries" option to linker on FreeBSD.
Eventually the nested if statements should be replaced by a more general
condition, but this is sufficient to make it work on FreeBSD.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/lib.mk | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -61,7 +61,9 @@ ifeq ($(BUILD_SHARED_LIBS), 1) endif ifneq ($(OS), Darwin) ifneq ($(OS), SunOS) - GLOBAL_LDFLAGS += -Wl,--no-copy-dt-needed-entries + ifneq ($(OS), FreeBSD) + GLOBAL_LDFLAGS += -Wl,--no-copy-dt-needed-entries + endif endif endif SET_RPATH_TO_LIBS ?= 1 |