bugfix: use "$(TARGET)-pkg-config" instead of "pkg-config" in package aubio

This commit is contained in:
Volker Grabsch 2010-01-26 23:15:56 +01:00
parent b8bcc0101a
commit e9da0ca66c
2 changed files with 18 additions and 1 deletions

View File

@ -0,0 +1,16 @@
This file is part of mingw-cross-env.
See doc/index.html or doc/README for further information.
diff -urN aubio-0.3.2.orig/configure.ac aubio-0.3.2/configure.ac
--- aubio-0.3.2.orig/configure.ac 2006-10-09 01:11:39.000000000 +0200
+++ aubio-0.3.2/configure.ac 2010-01-26 23:07:23.000000000 +0100
@@ -135,9 +135,6 @@
[Defined when c99 style varargs macros are supported])
fi
-dnl Check for pkg-config
-AC_PATH_PROG(PKG_CONFIG,pkg-config,no)
-
PKG_CHECK_MODULES(SNDLIB, sndfile >= 1.0.4, SNDLIB_SUPPORT=1)
PKG_CHECK_MODULES(SAMPLERATE, samplerate >= 0.0.15, SAMPLERATE_SUPPORT=1)

View File

@ -19,7 +19,8 @@ define $(PKG)_UPDATE
endef
define $(PKG)_BUILD
cd '$(1)' && autoconf && ./configure \
cd '$(1)' && autoconf
cd '$(1)' && ./configure \
--host='$(TARGET)' \
--disable-shared \
--disable-jack \