Set PORTAUDIO_CFLAGS and PORTAUDIO_LIBS for portmixer when using the local portaudio.
This commit is contained in:
parent
48b001d3d0
commit
20f5c717b8
3
configure
vendored
3
configure
vendored
|
@ -8346,7 +8346,8 @@ fi
|
|||
PORTAUDIO_LOCAL_LIBS="libportaudio.a"
|
||||
PORTAUDIO_LOCAL_CXXFLAGS='-I$(top_srcdir)/lib-src/portaudio-v19/include'
|
||||
|
||||
PORTAUDIO_LOCAL_CONFIGURE_ARGS="--with-pa-include=$(pwd)/lib-src/portaudio-v19/include"
|
||||
portaudio_dir="$(pwd)/lib-src/portaudio-v19"
|
||||
PORTAUDIO_LOCAL_CONFIGURE_ARGS="PORTAUDIO_CFLAGS=-I${portaudio_dir}/include PORTAUDIO_LIBS=${portaudio_dir}/lib/.libs/libportaudio.a"
|
||||
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: portaudio19 library is available in the local tree" >&5
|
||||
$as_echo "$as_me: portaudio19 library is available in the local tree" >&6;}
|
||||
|
|
|
@ -43,8 +43,10 @@ AC_DEFUN([AUDACITY_CHECKLIB_PORTAUDIO], [
|
|||
PORTAUDIO_LOCAL_LIBS="libportaudio.a"
|
||||
PORTAUDIO_LOCAL_CXXFLAGS='-I$(top_srcdir)/lib-src/portaudio-v19/include'
|
||||
|
||||
dnl set up configuring portaudio
|
||||
PORTAUDIO_LOCAL_CONFIGURE_ARGS="--with-pa-include=$(pwd)/lib-src/portaudio-v19/include"
|
||||
dnl We need to override the pkg-config check for portmixer by passing
|
||||
dnl PORTAUDIO_CFLAGS and PORTAUDIO_LIBS to the configure script of portmixer.
|
||||
portaudio_dir="$(pwd)/lib-src/portaudio-v19"
|
||||
PORTAUDIO_LOCAL_CONFIGURE_ARGS="PORTAUDIO_CFLAGS=-I${portaudio_dir}/include PORTAUDIO_LIBS=${portaudio_dir}/lib/.libs/libportaudio.a"
|
||||
|
||||
AC_MSG_NOTICE([portaudio19 library is available in the local tree])
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue
Block a user