From 33f7e66b8735b38b54c9a16697a94c0220ad3010 Mon Sep 17 00:00:00 2001 From: cu-kai <13281185+cu-kai@users.noreply.github.com> Date: Fri, 8 May 2020 15:56:53 +0300 Subject: [PATCH] link and use the binary, not the symlink (macOS) --- setup/apple/Makefile | 10 +++++----- setup/apple/NetRadiant.app/Contents/MacOS/radiant | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/setup/apple/Makefile b/setup/apple/Makefile index dc4140e9..a1bf3d17 100644 --- a/setup/apple/Makefile +++ b/setup/apple/Makefile @@ -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 diff --git a/setup/apple/NetRadiant.app/Contents/MacOS/radiant b/setup/apple/NetRadiant.app/Contents/MacOS/radiant index 701a7fec..8f9071bd 100644 --- a/setup/apple/NetRadiant.app/Contents/MacOS/radiant +++ b/setup/apple/NetRadiant.app/Contents/MacOS/radiant @@ -30,6 +30,6 @@ export PANGO_SYSCONFDIR="${resources}/etc" export PANGO_LIBDIR="${resources}/lib" cd "${resources}/install" -./radiant & +./radiant.x86_64 & set +x \ No newline at end of file