Windows dependencies now building, except for mp3 support.
This commit is contained in:
parent
11c80af82f
commit
0a2ad6e09e
1 changed files with 5 additions and 4 deletions
|
@ -83,6 +83,7 @@ function autoBuild() {
|
|||
autoreconf --force --install || true
|
||||
fi
|
||||
make distclean || true
|
||||
make clean || true
|
||||
popd
|
||||
mkdir -p "${G_DEST}/${LOCATION}"
|
||||
pushd "${G_DEST}/${LOCATION}"
|
||||
|
@ -103,7 +104,7 @@ function autoBuild() {
|
|||
--arch=${G_ARCH} \
|
||||
--enable-static \
|
||||
--disable-shared \
|
||||
--program-suffix="" \
|
||||
--progs-suffix="" \
|
||||
--prefix="${G_INSTALLED}" ${OPTIONS}
|
||||
else
|
||||
"${G_THIRDPARTY}/${LOCATION}/configure" \
|
||||
|
@ -332,10 +333,10 @@ autoBuild libSDL2.a SDL2
|
|||
autoBuild libSDL2_image.a SDL2_image "--disable-jpg-shared --disable-png-shared --disable-tif-shared --disable-webp-shared"
|
||||
|
||||
# === SDL2_mixer ===
|
||||
LIBS="-lm" \
|
||||
MORE_LIBS="-lstdc++" \
|
||||
MODPLUG_CFLAGS="-I${G_INSTALLED}/include -DMODPLUG_STATIC" \
|
||||
MODPLUG_LIBS="-L${G_INSTALLED}/lib -lmodplug -lstdc++ -lm" \
|
||||
autoBuild libSDL2_mixer.a SDL2_mixer "--disable-music-midi-fluidsynth --disable-music-ogg-shared --disable-music-flac-shared --disable-music-mod-modplug-shared --disable-music-mp3-mpg123-shared --disable-music-opus-shared"
|
||||
|
||||
# === SDL2_ttf ===
|
||||
MORE_CFLAGS="-I${G_INSTALLED}/include/SDL2" \
|
||||
autoBuild libSDL2_ttf.a SDL2_ttf "--with-ft-prefix=\"${G_INSTALLED}\" --with-sdl-prefix=\"${G_INSTALLED}\""
|
||||
autoBuild libSDL2_ttf.a SDL2_ttf "--with-ft-prefix=\"${G_INSTALLED}\" --with-sdl-prefix=\"${G_INSTALLED}\"" "libSDL2_ttf.la install-libLTLIBRARIES install-libSDL2_ttfincludeHEADERS"
|
||||
|
|
Loading…
Add table
Reference in a new issue