comparison 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
comparison
equal deleted inserted replaced
3655:4e4b0a0b5d0e 3656:9a33176ea64d
23 define $(PKG)_BUILD 23 define $(PKG)_BUILD
24 mkdir '$(1).build' 24 mkdir '$(1).build'
25 cd '$(1)' && autoreconf 25 cd '$(1)' && autoreconf
26 cd '$(1).build' && '$(1)/configure' \ 26 cd '$(1).build' && '$(1)/configure' \
27 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ 27 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \
28 $(CONFIGURE_CPPFLAGS) \
29 $(CONFIGURE_LDFLAGS) \
28 --with-internal-glib \ 30 --with-internal-glib \
29 --with-libiconv=gnu \ 31 --with-libiconv=gnu \
30 $($(PKG)_CONFIG_OPTS) \ 32 $($(PKG)_CONFIG_OPTS) \
31 --with-pc_path='$(HOST_LIBDIR)/pkgconfig' \ 33 --with-pc_path='$(HOST_LIBDIR)/pkgconfig' \
32 --prefix='$(HOST_PREFIX)' 34 --prefix='$(HOST_PREFIX)'