summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorkfg2020-04-12 09:59:46 +0200
committerkfg2020-04-12 09:59:46 +0200
commite790694b83831f353319be2b33469c8a90077451 (patch)
tree4a3cad94b5c7b51d3b39a4016c6c59a7aa567074 /PKGBUILD
parent503af49368ed5293ecbc26b969ede2c8ecff4dd8 (diff)
downloadaur-mingw-w64-libmodplug.tar.gz
add lssp linker flag
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD6
1 files changed, 4 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 5400677a413..a458456fe7d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -8,9 +8,9 @@ arch=('any')
url="http://modplug-xmms.sourceforge.net/"
license=('custom')
depends=('mingw-w64-crt')
-options=('!strip' '!buildflags' '!libtool' 'staticlibs')
+options=('!strip' '!buildflags' 'staticlibs')
makedepends=('mingw-w64-gcc' 'mingw-w64-configure')
-source=("http://downloads.sourceforge.net/modplug-xmms/libmodplug-${pkgver}.tar.gz")
+source=("https://downloads.sourceforge.net/modplug-xmms/libmodplug-${pkgver}.tar.gz")
sha1sums=('9d18572f85fdd95091befa972ee5d94139dcefde')
_architectures="i686-w64-mingw32 x86_64-w64-mingw32"
@@ -18,6 +18,8 @@ build() {
for _arch in ${_architectures}; do
mkdir -p ${srcdir}/libmodplug-${pkgver}/build-${_arch} && cd ${srcdir}/libmodplug-${pkgver}/build-${_arch}
+ export LDFLAGS="-lssp"
+
${_arch}-configure
make
done