1
0
Fork 0

Avoid libpng 1.2 dependency for Ubuntu releases

This is a temporary fix for Ubuntu-based distributions. When SDL1 will
be replaced by SDL2, we'll be able to revert this change.

Fixes: #84
This commit is contained in:
Patryk Obara 2019-12-12 21:56:13 +01:00 committed by Patryk Obara
parent 55b716f8ce
commit ba88bd97d7

View file

@ -58,10 +58,15 @@ jobs:
sed -i "s/AC_INIT(dosbox,git)/AC_INIT(dosbox,$VERSION)/" configure.ac
echo ::set-env name=VERSION::$VERSION
- name: Build
env:
FLAGS: -O3 -DNDEBUG -pipe
run: |
set -x
./autogen.sh
./configure CFLAGS="-O3 -DNDEBUG -pipe" CXXFLAGS="-O3 -DNDEBUG -pipe"
./configure \
--disable-screenshots \
CFLAGS="$FLAGS" \
CXXFLAGS="$FLAGS"
make -j "$(nproc)"
strip src/dosbox
- name: Package