From faa3f2d4c9e02d02e70c29ced331370a0b62009c Mon Sep 17 00:00:00 2001 From: k-m_schindler Date: Wed, 16 Jun 2010 18:15:55 +0000 Subject: Finally fix libpcre.dylib in the Mac OS X stand-alone application bundle git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2531 b956fd51-792f-4845-bead-9b4dfca2ff2c --- Makefile.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile.in b/Makefile.in index 237565f5..7e9450a6 100644 --- a/Makefile.in +++ b/Makefile.in @@ -439,6 +439,8 @@ endef # libpcre.dylib must be installed extra, since it is not linked to the executable but opened using dlopen $(shell $(INSTALL) -m 755 $(finkLibDir)/libpcre.dylib $(macosx_bundle_path)/MacOS) + $(shell $(INSTALL_NAME_TOOL) -change $(finkLibDir)/libpcre.dylib @executable_path/libpcre.dylib $(macosx_bundle_path)/MacOS/libpcre.dylib) + $(shell $(INSTALL_NAME_TOOL) -id @executable_path/libpcre.dylib $(macosx_bundle_path)/MacOS/libpcre.dylib) # final messages @echo "Standalone Mac OS X application created." -- cgit v1.2.3