diff options
author | Ian Coolidge <icoolidge@google.com> | 2017-01-30 23:54:52 -1000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2017-01-30 23:54:52 -1000 |
commit | 612d9d554e36e585458b1e96b2bd53fcb41feda8 (patch) | |
tree | 17a99c73214b721700467dd4c84304b39755c595 /net-wireless/dump1090/dump1090-9999.ebuild | |
parent | media-plugins/frei0r-plugins: amd64 stable wrt bug #607724 (diff) | |
download | gentoo-612d9d554e36e585458b1e96b2bd53fcb41feda8.tar.gz gentoo-612d9d554e36e585458b1e96b2bd53fcb41feda8.tar.bz2 gentoo-612d9d554e36e585458b1e96b2bd53fcb41feda8.zip |
net-wireless/dump1090: respect $PKG_CONFIG settings
Hardcoding `pkg-config` breaks cross-compiling.
Diffstat (limited to 'net-wireless/dump1090/dump1090-9999.ebuild')
-rw-r--r-- | net-wireless/dump1090/dump1090-9999.ebuild | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net-wireless/dump1090/dump1090-9999.ebuild b/net-wireless/dump1090/dump1090-9999.ebuild index 495ceb40f9da..eb5c454fdca2 100644 --- a/net-wireless/dump1090/dump1090-9999.ebuild +++ b/net-wireless/dump1090/dump1090-9999.ebuild @@ -32,8 +32,8 @@ src_prepare() { src_compile() { emake CC="$(tc-getCC)" \ - CFLAGS="$(pkg-config --cflags librtlsdr)" \ - LIBS="${LDFLAGS} $(pkg-config --libs librtlsdr) -lm -lpthread" \ + CFLAGS="$($(tc-getPKG_CONFIG) --cflags librtlsdr)" \ + LIBS="${LDFLAGS} $($(tc-getPKG_CONFIG) --libs librtlsdr) -lm -lpthread" \ all } |