mirror of
https://github.com/ValveSoftware/Proton.git
synced 2024-12-30 16:45:36 +03:00
build_proton: Build openal-soft
This commit is contained in:
parent
1cfd9f7a16
commit
4c05f2aeec
@ -112,6 +112,33 @@ build_libjpeg()
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
build_openal()
|
||||||
|
{
|
||||||
|
#openal 32-bit
|
||||||
|
cd "$TOP"
|
||||||
|
mkdir -p build/openal.win32
|
||||||
|
cd build/openal.win32
|
||||||
|
cmake "$TOP"/openal-soft -DCMAKE_C_FLAGS="-m32" -DCMAKE_INSTALL_PREFIX="$TOOLS_DIR32"
|
||||||
|
make $JOBS VERBOSE=1
|
||||||
|
make install VERBOSE=1
|
||||||
|
cp ./libopenal.dylib "$DST_DIR"/lib/libopenal.1.dylib
|
||||||
|
if [ x"$RELEASE_BUILD" != x ]; then
|
||||||
|
$STRIP "$DST_DIR"/lib/libopenal.1.dylib
|
||||||
|
fi
|
||||||
|
|
||||||
|
#openal 64-bit
|
||||||
|
cd "$TOP"
|
||||||
|
mkdir -p build/openal.win64
|
||||||
|
cd build/openal.win64
|
||||||
|
cmake "$TOP"/openal-soft -DCMAKE_INSTALL_PREFIX="$TOOLS_DIR64"
|
||||||
|
make $JOBS VERBOSE=1
|
||||||
|
make install VERBOSE=1
|
||||||
|
cp ./libopenal.dylib "$DST_DIR"/lib64/libopenal.1.dylib
|
||||||
|
if [ x"$RELEASE_BUILD" != x ]; then
|
||||||
|
$STRIP "$DST_DIR"/lib64/libopenal.1.dylib
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
build_libSDL()
|
build_libSDL()
|
||||||
{
|
{
|
||||||
cd "$TOP"/SDL-mirror
|
cd "$TOP"/SDL-mirror
|
||||||
@ -212,6 +239,7 @@ if [ "$PLATFORM" == "Darwin" ]; then
|
|||||||
JPEG64_LIBS="-L$TOOLS_DIR64/lib -lprotonjpeg"
|
JPEG64_LIBS="-L$TOOLS_DIR64/lib -lprotonjpeg"
|
||||||
ac_cv_lib_soname_jpeg64=libprotonjpeg.dylib
|
ac_cv_lib_soname_jpeg64=libprotonjpeg.dylib
|
||||||
|
|
||||||
|
build_openal
|
||||||
|
|
||||||
build_libSDL
|
build_libSDL
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user