milis/talimatname/genel/js38/mozjs38-install-name.patch

12 lines
502 B
Diff

--- 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