csb/mozjs/mozjs38-install-name.patch
Willy Sudiarto Raharjo c6a9b534c0
mozjs: Upgraded to 38.8.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackware-id.org>
2017-05-04 00:31:01 +07:00

12 lines
503 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