diff options
author | Michel Zou | 2018-01-16 22:27:02 +0100 |
---|---|---|
committer | Michel Zou | 2018-01-16 22:27:02 +0100 |
commit | 8a31f2ec17d1f7a00f64788e9982b64376bee270 (patch) | |
tree | 26ad33e3ed14096e7f3ce027f58cf512a695b88a | |
parent | 4e6456746ad42696845a54557761e51bcf06c980 (diff) | |
download | aur-psp-libmikmod.tar.gz |
fix psp-config
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -1,5 +1,5 @@ # Generated by mksrcinfo v8 -# Tue Jan 16 21:03:01 UTC 2018 +# Tue Jan 16 21:27:02 UTC 2018 pkgbase = psp-libmikmod pkgdesc = A portable sound library (psp) pkgver = 3.2.0 @@ -28,10 +28,10 @@ build() { autoconf --force autoheader --force automake --add-missing - export LDFLAGS="-L$(/usr/bin/psp-config --pspsdk-path)/lib -L$(/usr/bin/psp-config --psp-prefix)/lib -lc -lpspuser" + export LDFLAGS="-L$(psp-config --pspsdk-path)/lib -L$(psp-config --psp-prefix)/lib -lc -lpspuser" export LIBS="-lc -lpspuser" mkdir -p build-psp && pushd build-psp - ../configure --prefix=/usr/psp --host=psp --disable-esd psp_config=/usr/bin/psp-config + ../configure --prefix=/usr/psp --host=psp --disable-esd # FIXME: AC_REPLACE_FUNCS(strcasecmp strdup strstr) in configure.in results in .lo.o files added to LIBOBJS sed -i "s|LIBOBJS= \${LIBOBJDIR}strcasecmp.lo\$U.o \${LIBOBJDIR}strdup.lo\$U.o \${LIBOBJDIR}strstr.lo\$U.o|LIBOBJS= \${LIBOBJDIR}strcasecmp.lo \${LIBOBJDIR}strdup.lo \${LIBOBJDIR}strstr.lo|g" libmikmod/Makefile |