[Gdal-dev] 1.3.2 build error - (linux, --without-libtool, make -j)

John Johnson jdjohnso at google.com
Tue Sep 19 15:31:42 EDT 2006


When compiling on linux w/o libtool (e.g. to support kakadu), make -j is
broken.
Here's a little patch to fix it.
-------------------- cut --------------------
diff -uNr gdal-1.3.2.orig/GNUmakefile gdal-1.3.2/GNUmakefile
--- gdal-1.3.2.orig/GNUmakefile    2006-03-24 08:51:56.000000000 -0800
+++ gdal-1.3.2/GNUmakefile    2006-09-19 12:25:36.000000000 -0700
@@ -35,7 +35,7 @@
     $(AR) r $(GDAL_LIB) $(GDAL_OBJ)
     $(RANLIB) $(GDAL_LIB)

-$(GDAL_SLIB):    $(GDAL_OBJ)
+$(GDAL_SLIB):    $(GDAL_OBJ) $(GDAL_LIB)
     $(LD_SHARED) $(GDAL_SLIB_SONAME) $(GDAL_OBJ) $(GDAL_LIBS) $(LIBS) \
         -o $(GDAL_SLIB)
-------------------- cut --------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20060919/6fcb8e57/attachment.html


More information about the Gdal-dev mailing list