[X2Go-Commits] [x2goclient] 52/148: macbuild.sh: when actually bundling libraries, use @executable_path instead of @loader_path.

git-admin at x2go.org git-admin at x2go.org
Wed May 4 23:28:24 CEST 2016


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch bugfix/osx
in repository x2goclient.

commit e434544d78d0aeadaeaea9342db92241912d99dd
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Thu Jul 30 04:45:40 2015 +0200

    macbuild.sh: when actually bundling libraries, use @executable_path instead of @loader_path.
    
    Will need testing.
---
 debian/changelog |    2 ++
 macbuild.sh      |    2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index ddbf5fc..3754a4f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -112,6 +112,8 @@ x2goclient (4.0.5.2-0x2go1) UNRELEASED; urgency=medium
     - macbuild.sh: check current file name against regex, not a (now) full
       path.
     - macbuild.sh: add the correct file path to the library bundling array.
+    - macbuild.sh: when actually bundling libraries, use @executable_path
+      instead of @loader_path. Will need testing.
 
   [ Mike DePaulo ]
   * New upstream release (4.0.5.2):
diff --git a/macbuild.sh b/macbuild.sh
index b15d62a..b3a6203 100755
--- a/macbuild.sh
+++ b/macbuild.sh
@@ -328,7 +328,7 @@ if [ "${BUNDLE}" = "1" ]; then
 				--fix-file "${FRAMEWORKS_DIR}/${intermediate_lib_dir}/${cur_binary_name}" \
 				--bundle-deps \
 				--dest-dir "${FRAMEWORKS_DIR}/" \
-				--install-path "@loader_path/$(repeat_str "../" "${nesting_level}")Frameworks/" \
+				--install-path "@executable_path/$(repeat_str "../" "${nesting_level}")../Frameworks/" \
 				--create-dir \
 				--overwrite-files
 		fi

--
Alioth's /srv/git/code.x2go.org/x2goclient.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/x2goclient.git


More information about the x2go-commits mailing list