Commit 677247dc authored by Rafaël Carré's avatar Rafaël Carré

contribs: fix portaudio build for win64

patch sent upstream
parent c4fc3095
......@@ -1642,6 +1642,7 @@ ifneq ($(HOST),$(BUILD))
(patch -p0 < Patches/portaudio-cross.patch;cd $@; autoconf)
endif
ifdef HAVE_WIN64
patch -p0 < Patches/portaudio-static.patch
(cd $@ ; autoreconf -if)
endif
......
--- portaudio/configure.in.orig 2010-10-10 14:02:33.000000000 +0200
+++ portaudio/configure.in 2010-10-10 14:03:04.000000000 +0200
@@ -348,6 +348,8 @@
esac
CFLAGS="$CFLAGS $THREAD_CFLAGS"
+test "$enable_shared" != "yes" && SHARED_FLAGS=""
+
if test "$enable_cxx" = "yes"; then
AC_CONFIG_SUBDIRS([bindings/cpp])
ENABLE_CXX_TRUE=""
......@@ -18,5 +18,5 @@ CC=amd64-mingw32msvc-gcc CXX=amd64-mingw32msvc-g++ \
CONFIGURE="${root}configure" \
CONFIGOPTS="--host=amd64-mingw32msvc --build=i386-linux
--enable-dirac --enable-mkv --enable-taglib --enable-debug --enable-projectm
--disable-portaudio --disable-qt4 --disable-skins2 --disable-activex --disable-mozilla" \
--disable-qt4 --disable-skins2 --disable-activex --disable-mozilla" \
sh ${root}extras/package/win32/configure-common.sh
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment