[107866] trunk/base/src/registry2.0/Makefile

cal at macports.org cal at macports.org
Sun Jul 7 16:17:47 PDT 2013


Revision: 107866
          https://trac.macports.org/changeset/107866
Author:   cal at macports.org
Date:     2013-07-07 16:17:47 -0700 (Sun, 07 Jul 2013)
Log Message:
-----------
registry2.0/registry.dylib: switch to @loader_path to fix build error when no macports is installed

Modified Paths:
--------------
    trunk/base/src/registry2.0/Makefile

Modified: trunk/base/src/registry2.0/Makefile
===================================================================
--- trunk/base/src/registry2.0/Makefile	2013-07-07 23:03:34 UTC (rev 107865)
+++ trunk/base/src/registry2.0/Makefile	2013-07-07 23:17:47 UTC (rev 107866)
@@ -18,7 +18,7 @@
 CFLAGS+=	${SQLITE3_CFLAGS}
 LIBS+=	${SQLITE3_LIBS}
 ifeq ($(shell uname), Darwin)
-	SHLIB_LDFLAGS+= -install_name ${datadir}/macports/Tcl/registry2.0/${SHLIB_NAME}
+	SHLIB_LDFLAGS+= -install_name @loader_path/../registry2.0/${SHLIB_NAME}
 endif
 
 .PHONY: test
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130707/8cc539aa/attachment.html>


More information about the macports-changes mailing list