diff --git a/community/erlang/PKGBUILD b/community/erlang/PKGBUILD index 7e2e5268c..a39a33736 100644 --- a/community/erlang/PKGBUILD +++ b/community/erlang/PKGBUILD @@ -12,13 +12,13 @@ pkgbase=erlang pkgname=(erlang erlang-unixodbc) pkgver=24.2 -pkgrel=1 +pkgrel=2 _docver=24.2 arch=(x86_64) url='https://erlang.org' license=(Apache) makedepends=(fop git glu java-environment libxslt lksctp-tools mesa perl unixodbc wxgtk3) -options=(staticlibs) +options=(staticlibs !strip) source=(epmd.conf epmd.service epmd.socket @@ -35,9 +35,9 @@ prepare() { mkdir -p bin ln -fs /usr/bin/wx-config-gtk3 bin/wx-config export PATH="$srcdir/bin:$PATH" - - sed -i 's/^LDFLAGS = /LDFLAGS += /g' otp/lib/megaco/src/flex/Makefile.in - sed -i 's/^LDFLAGS = /LDFLAGS += /g' otp/lib/odbc/c_src/Makefile.in + # adjust how LDFLAGS are handled + sed -i 's/^LDFLAGS = /LDFLAGS += /g' \ + otp/lib/{odbc/c_src,megaco/src/flex}/Makefile.in } build() {