Update configure.sh

This commit is contained in:
Kimpe Andy 2024-01-31 13:06:39 +01:00 committed by GitHub
parent 7046aeba92
commit 8889e61f14
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 1 deletions

3
debian/configure.sh vendored
View File

@ -1,5 +1,6 @@
#!/bin/bash
source=$1
prefix=$2
pushd $source/desmume
sed -i 's/\r//' AUTHORS
for txtfile in AUTHORS
@ -12,7 +13,7 @@ find src -name *.[ch]* -exec chmod 644 {} \;
popd
pushd $source/desmume/src/frontend/posix
./autogen.sh
./configure --prefix=/usr --bindir=/usr/games --datadir=/usr/share/games \
./configure --prefix=$prefix --bindir=$prefix/games --datadir=$prefix/share/games \
--enable-gdb-stub \
--enable-osmesa \
--enable-glade