1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-27 15:50:10 +01:00

build_wxwidgets now loops over two architectures; change install path...

... to include architecture, so the 64 bit build doesn't destroy the 32, thus
the results are found in:

/usr/local/i386/lib
/usr/local/x86_64/lib

whereas before all was in /usr/local/lib.

Change the XCode project too, to look for includes and libraries in the new
places.
This commit is contained in:
Paul Licameli
2018-11-15 12:45:07 -05:00
parent fe19c848be
commit 407b7fab4a
2 changed files with 6 additions and 4 deletions

View File

@@ -33,9 +33,11 @@ function bld
shift
arch_option="--enable-macosx-arch=${1}"
prefix_option="--prefix=/usr/local/${1}"
shift
../configure ${arch_option} \
../configure ${prefix_option} \
${arch_option} \
--with-expat=builtin \
--with-zlib=builtin \
--with-regex=builtin \
@@ -58,7 +60,7 @@ function inst
popd
}
for architecture in 'i386'; do {
for architecture in 'i386' 'x86_64'; do {
std=''
stdlib='-stdlib=libstdc++'
if [ ${max} -gt 1060 ]