Skip to content
Snippets Groups Projects
Commit 141a67d7 authored by Paul McCarthy's avatar Paul McCarthy :mountain_bicyclist:
Browse files

RF: Better way of adding -install_name option - earlier attempt was being

evaluated against $@="", so was matching all targets
parent 9592a38f
No related branches found
No related tags found
1 merge request!28RF: Better way of adding -install_name option
...@@ -112,9 +112,7 @@ ifeq ($(SYSTYPE), Darwin) ...@@ -112,9 +112,7 @@ ifeq ($(SYSTYPE), Darwin)
# that we give shared libs a suffix of # that we give shared libs a suffix of
# .so (not .dylib) on both linux and # .so (not .dylib) on both linux and
# macOS. # macOS.
ifeq ($(patsubst %.so,,$@),) %.so : LDFLAGS += -Wl,-install_name,@rpath/$@
LDFLAGS += -Wl,-install_name,@rpath/$@
endif
endif endif
##################################################################### #####################################################################
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment