# HG changeset patch # User Petr Sumbera # Date 1371750907 25200 # Node ID fe40eb92535c6493d4c68c0ff088f4bc55981b58 # Parent fd7da071d1406bcf074dac437e1cb495c7b05e18 16985140 PKG_CONFIG_PATH breaks wireshark build diff -r fd7da071d140 -r fe40eb92535c components/wireshark/Makefile --- a/components/wireshark/Makefile Thu Jun 20 08:06:22 2013 -0700 +++ b/components/wireshark/Makefile Thu Jun 20 10:55:07 2013 -0700 @@ -49,6 +49,9 @@ CONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)" CONFIGURE_OPTIONS += PATH="/usr/perl5/bin:/usr/gnu/bin:$(PATH)" +# Use the 64-bit versions of pkg-config files +CONFIGURE_ENV += PKG_CONFIG_PATH="$(PKG_CONFIG_PATH)" + # Version 1.10 (libwireshark.so) doesn't play nicely with -Bdirect. LD_B_DIRECT= @@ -57,7 +60,9 @@ # installed on build system without dependency errors. COMPONENT_POST_CONFIGURE_ACTION = \ (cd $(@D); \ - sed -e 's,-L/usr/lib -R/usr/lib,,' -e 's,-R/usr/lib,,' \ + sed -e 's,-R/usr/lib/$(MACH64),,' \ + -e 's,-R/usr/lib,,' \ + -e 's,-R\$$libdir,,' \ config.status > config.status.new; \ mv config.status.new config.status; \ chmod 755 config.status; \