From: north Date: Fri, 15 Apr 2011 20:40:10 +0000 (+0000) Subject: By adding --enable-static --disable-dynamic to configure flags, X-Git-Tag: LAST_LIBGRAPH~32^2~817 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fbd938d8405854c40c98b0f2266f8a0e5a5a65b4;p=graphviz By adding --enable-static --disable-dynamic to configure flags, we can force the dot executable to link static libraries and not depend on macports dylibs. The build still creates the plugin dylibs but they aren't usable (without macports on the install host). --- diff --git a/macosx/build/Makefile.snowleopard b/macosx/build/Makefile.snowleopard index 23ad6906b..4c8be8b7a 100644 --- a/macosx/build/Makefile.snowleopard +++ b/macosx/build/Makefile.snowleopard @@ -70,7 +70,7 @@ $(GV_DIR)/Makefile: $(GV_DIR)/configure @echo @echo CONFIGURING GRAPHVIZ... @echo - cd $(GV_DIR) && ./configure --enable-swig=no --disable-dependency-tracking --with-ipsepcola --with-quartz --with-smyrna --disable-perl --with-extra-includedir="$(PREFIX)/include" --with-extra-libdir="$(PREFIX)/lib" CFLAGS="-O2 $(ARCH)" CXXFLAGS="-O2 $(ARCH)" OBJCFLAGS="-O2 $(ARCH)" LDFLAGS="$(ARCH) -Wl,-dead_strip" GDLIB_CONFIG="$(PREFIX)/bin/gdlib-config" PKG_CONFIG="$(PREFIX)/bin/pkg-config" PKG_CONFIG_PATH="$(PREFIX)/lib/pkgconfig:/usr/X11/lib/pkgconfig" + cd $(GV_DIR) && ./configure --enable-static --disable-shared --enable-swig=no --disable-dependency-tracking --with-ipsepcola --with-quartz --with-smyrna --disable-perl --with-extra-includedir="$(PREFIX)/include" --with-extra-libdir="$(PREFIX)/lib" CFLAGS="-O2 $(ARCH)" CXXFLAGS="-O2 $(ARCH)" OBJCFLAGS="-O2 $(ARCH)" LDFLAGS="$(ARCH) -Wl,-dead_strip" GDLIB_CONFIG="$(PREFIX)/bin/gdlib-config" PKG_CONFIG="$(PREFIX)/bin/pkg-config" PKG_CONFIG_PATH="$(PREFIX)/lib/pkgconfig:/usr/X11/lib/pkgconfig" clean: $(MAKE) -C $(GV_DIR) clean