csb/mozjs/mozjs38-install-name.patch

13 lines
503 B
Diff
Raw Normal View History

--- a/config/rules.mk 2016-11-09 23:51:17.000000000 -0800
+++ b/config/rules.mk 2016-11-09 23:54:23.000000000 -0800
@@ -393,7 +393,7 @@
ifdef IS_COMPONENT
EXTRA_DSO_LDOPTS += -bundle
else
-EXTRA_DSO_LDOPTS += -dynamiclib -install_name @executable_path/$(SHARED_LIBRARY) -compatibility_version 1 -current_version 1 -single_module
+EXTRA_DSO_LDOPTS += -dynamiclib -install_name $(abspath $(prefix))/lib/$(SHARED_LIBRARY) -compatibility_version 1 -current_version 1 -single_module
endif
endif
endif