diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-07-11 01:13:55 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-07-11 01:13:55 -0500 |
commit | ec3d896cd187a2ce4e81ecf749f623a262e6aad1 (patch) | |
tree | e4b80f00e640f1a9fbe1fe304a43b56673e0e18b /user/mozjs/0003-build-Fix-library-install-name-on-macOS.patch | |
parent | 49bf4eada542ac3e302f1da9864e1f6e02de7c15 (diff) | |
download | packages-ec3d896cd187a2ce4e81ecf749f623a262e6aad1.tar.gz packages-ec3d896cd187a2ce4e81ecf749f623a262e6aad1.tar.bz2 packages-ec3d896cd187a2ce4e81ecf749f623a262e6aad1.tar.xz packages-ec3d896cd187a2ce4e81ecf749f623a262e6aad1.zip |
user/mozjs: new package, THE MOST EPIC PYTHON PATCH EVER MADE
Diffstat (limited to 'user/mozjs/0003-build-Fix-library-install-name-on-macOS.patch')
-rw-r--r-- | user/mozjs/0003-build-Fix-library-install-name-on-macOS.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/user/mozjs/0003-build-Fix-library-install-name-on-macOS.patch b/user/mozjs/0003-build-Fix-library-install-name-on-macOS.patch new file mode 100644 index 000000000..7d66d5aac --- /dev/null +++ b/user/mozjs/0003-build-Fix-library-install-name-on-macOS.patch @@ -0,0 +1,30 @@ +From fd8fc6e7b8760c961be7a3b9c6559d15f5ad008f Mon Sep 17 00:00:00 2001 +From: Philip Chimento <philip.chimento@gmail.com> +Date: Wed, 5 Jul 2017 22:44:18 -0700 +Subject: [PATCH 03/10] build: Fix library install name on macOS + +In order for the library to work under JHbuild, it has to have an install +name with an absolute path, since it will be installed in a shared +location. + +https://bugzilla.mozilla.org/show_bug.cgi?id=1379536 +--- + config/rules.mk | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/config/rules.mk b/config/rules.mk +index a21128cf..d88bada3 100644 +--- a/config/rules.mk ++++ b/config/rules.mk +@@ -352,7 +352,7 @@ else + ifdef MOZ_IOS + _LOADER_PATH := @rpath + else +-_LOADER_PATH := @executable_path ++_LOADER_PATH := $(abspath $(prefix))/lib + endif + EXTRA_DSO_LDOPTS += -dynamiclib -install_name $(_LOADER_PATH)/$(SHARED_LIBRARY) -compatibility_version 1 -current_version 1 -single_module + endif +-- +2.13.0 + |