]> granicus.if.org Git - graphviz/commitdiff
By adding --enable-static --disable-dynamic to configure flags,
authornorth <devnull@localhost>
Fri, 15 Apr 2011 20:40:10 +0000 (20:40 +0000)
committernorth <devnull@localhost>
Fri, 15 Apr 2011 20:40:10 +0000 (20:40 +0000)
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).

macosx/build/Makefile.snowleopard

index 23ad6906b330427e6d40d790bf6b3b723d00f1d1..4c8be8b7a86eb78f64a8aa3608cf3b125a4391a1 100644 (file)
@@ -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