From a4240aaa3681c19207c644502aba20812d849c92 Mon Sep 17 00:00:00 2001 From: jdolan Date: Sat, 29 Jun 2013 14:42:34 -0400 Subject: [PATCH] Conditionalize the creation of our build symlink. --- apple/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apple/Makefile b/apple/Makefile index 31081dd9..487d4698 100644 --- a/apple/Makefile +++ b/apple/Makefile @@ -1,5 +1,6 @@ # Makefile for GtkRadiant.app, requires http://macdylibbundler.sourceforge.net/ +BUILD = ../build INSTALL = ../install TARGET = target RESOURCES = $(TARGET)/GtkRadiant.app/Contents/Resources @@ -54,7 +55,7 @@ bundle: # The Radiant plugins (modules) are a little funky # Some of them are actually linked against the build directory - ln -s ../build ./build + test -L build || ln -s $(BUILD) dylibbundler -b \ -x $(INSTDIR)/radiant.bin \