changeset 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 4e4b0a0b5d0e
children 9b5ec90d870b 581873dfae44
files src/pkg-config.mk
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
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) \