diff src/tiff.mk @ 2997:4f9b72cf7ee7

allow native builds too
author John W. Eaton <jwe@octave.org>
date Tue, 28 May 2013 17:31:59 -0400
parents c5301f967c64
children 100e618349f7
line wrap: on
line diff
--- a/src/tiff.mk	Sun May 26 13:32:22 2013 -0400
+++ b/src/tiff.mk	Tue May 28 17:31:59 2013 -0400
@@ -18,6 +18,7 @@
 
 define $(PKG)_BUILD
     cd '$(1)' && ./configure \
+        $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \
         --host='$(TARGET)' \
         --build="`config.guess`" \
         $(ENABLE_SHARED_OR_STATIC) \
@@ -25,6 +26,6 @@
         --without-x
     $(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
 
-    rm -f $(PREFIX)/$(TARGET)/lib/libtiff.la
-    rm -f $(PREFIX)/$(TARGET)/lib/libtiffxx.la
+    rm -f $(MXE_LIBDIR)/libtiff.la
+    rm -f $(MXE_LIBDIR)/lib/libtiffxx.la
 endef