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
|
autoreconf --force --install || true
|
||||||
fi
|
fi
|
||||||
make distclean || true
|
make distclean || true
|
||||||
|
make clean || true
|
||||||
popd
|
popd
|
||||||
mkdir -p "${G_DEST}/${LOCATION}"
|
mkdir -p "${G_DEST}/${LOCATION}"
|
||||||
pushd "${G_DEST}/${LOCATION}"
|
pushd "${G_DEST}/${LOCATION}"
|
||||||
|
@ -103,7 +104,7 @@ function autoBuild() {
|
||||||
--arch=${G_ARCH} \
|
--arch=${G_ARCH} \
|
||||||
--enable-static \
|
--enable-static \
|
||||||
--disable-shared \
|
--disable-shared \
|
||||||
--program-suffix="" \
|
--progs-suffix="" \
|
||||||
--prefix="${G_INSTALLED}" ${OPTIONS}
|
--prefix="${G_INSTALLED}" ${OPTIONS}
|
||||||
else
|
else
|
||||||
"${G_THIRDPARTY}/${LOCATION}/configure" \
|
"${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"
|
autoBuild libSDL2_image.a SDL2_image "--disable-jpg-shared --disable-png-shared --disable-tif-shared --disable-webp-shared"
|
||||||
|
|
||||||
# === SDL2_mixer ===
|
# === SDL2_mixer ===
|
||||||
LIBS="-lm" \
|
MODPLUG_CFLAGS="-I${G_INSTALLED}/include -DMODPLUG_STATIC" \
|
||||||
MORE_LIBS="-lstdc++" \
|
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"
|
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 ===
|
# === SDL2_ttf ===
|
||||||
MORE_CFLAGS="-I${G_INSTALLED}/include/SDL2" \
|
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