mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
net-wireless/dump1090: respect $PKG_CONFIG settings
Hardcoding `pkg-config` breaks cross-compiling.
This commit is contained in:
committed by
Mike Frysinger
parent
2d9cf77211
commit
612d9d554e
@@ -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
|
||||
}
|
||||
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user