Skip to content

Commit 228d7fc

Browse files
committed
Always include a loader_path to Frameworks on macOS (so users can install
libraries there-in). Include executable_path also even though this was a harmless mistake.
1 parent ea79c51 commit 228d7fc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

build.macos32x86/common/Makefile.app

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,8 +168,8 @@ $(APP)/Contents/Resources/%.icns: $(OSXDIR)/%.icns
168168
cp -p $< $(APP)/Contents/Resources
169169

170170
pathapp:
171-
-test -d $(APP)/Contents/Frameworks && \
172171
install_name_tool -add_rpath @executable_path/../Frameworks $(VMEXE)
172+
install_name_tool -add_rpath @loader_path/../Frameworks $(VMEXE)
173173

174174
# To sign the app, set SIGNING_IDENTITY in the environment, e.g.
175175
# export SIGNING_IDENTITY="Developer ID Application: Eliot Miranda"

build.macos64x64/common/Makefile.app

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,8 +168,8 @@ $(APP)/Contents/Resources/%.icns: $(OSXDIR)/%.icns
168168
cp -p $< $(APP)/Contents/Resources
169169

170170
pathapp:
171-
-test -d $(APP)/Contents/Frameworks && \
172171
install_name_tool -add_rpath @executable_path/../Frameworks $(VMEXE)
172+
install_name_tool -add_rpath @loader_path/../Frameworks $(VMEXE)
173173

174174
# To sign the app, set SIGNING_IDENTITY in the environment, e.g.
175175
# export SIGNING_IDENTITY="Developer ID Application: Eliot Miranda"

0 commit comments

Comments
 (0)