link and use the binary, not the symlink (macOS)

This commit is contained in:
cu-kai 2020-05-08 15:56:53 +03:00 committed by Garux
parent fa2a179fd5
commit 33f7e66b87
2 changed files with 6 additions and 6 deletions

View File

@ -62,11 +62,11 @@ bundle:
test -L install || ln -s $(INSTALL)
dylibbundler -b \
-x $(BINDIR)/radiant \
-x $(BINDIR)/q2map \
-x $(BINDIR)/q3data \
-x $(BINDIR)/q3map2 \
-x $(BINDIR)/qdata3 \
-x $(BINDIR)/radiant.x86_64 \
-x $(BINDIR)/q2map.x86_64 \
-x $(BINDIR)/q3data.x86_64 \
-x $(BINDIR)/q3map2.x86_64 \
-x $(BINDIR)/qdata3.x86_64 \
`find $(BINDIR)/modules -name "*.dylib" | xargs -I {} echo -x {}` \
`find $(LIBDIR) -name "*.dylib" | xargs -I {} echo -x {}` \
-d $(LIBDIR) -of -p @executable_path/../lib

View File

@ -30,6 +30,6 @@ export PANGO_SYSCONFDIR="${resources}/etc"
export PANGO_LIBDIR="${resources}/lib"
cd "${resources}/install"
./radiant &
./radiant.x86_64 &
set +x