diff src/pkg-config.mk @ 3656:9a33176ea64d

include LDFLAGS and CPPFLAGS in pkg-config configure command
author John W. Eaton <jwe@octave.org>
date Wed, 09 Jul 2014 09:13:21 -0400
parents 13be64f9f16d
children 0e56fe2d2ef5
line wrap: on
line diff
--- a/src/pkg-config.mk	Tue Jul 08 10:20:19 2014 -0400
+++ b/src/pkg-config.mk	Wed Jul 09 09:13:21 2014 -0400
@@ -25,6 +25,8 @@
     cd '$(1)' && autoreconf
     cd '$(1).build' && '$(1)/configure' \
         $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \
+        $(CONFIGURE_CPPFLAGS) \
+        $(CONFIGURE_LDFLAGS) \
         --with-internal-glib \
         --with-libiconv=gnu \
         $($(PKG)_CONFIG_OPTS) \