twaindsm: don't strip symbols

This commit is contained in:
Jürgen Buchmüller 2016-07-04 22:46:58 +02:00
parent 6c8fb50f41
commit 50a3640336
1 changed files with 5 additions and 1 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'twaindsm'
pkgname=twaindsm
version=2.3.0
revision=1
revision=2
wrksrc="${pkgname}-${version}.orig"
build_wrksrc="src"
build_style=cmake
@ -13,6 +13,10 @@ homepage="http://www.twain.org"
distfiles="$SOURCEFORGE_SITE/twain-dsm/TWAIN%20DSM%20${version%.*.*}%20Source/${pkgname}-${version}.source.zip"
checksum=9a51ba95b1e51bb5a5fb855799d802269c147b2ba362e030150b1c9980f988ce
# twaindsm.so is loaded dynamically by applications
# which want it to export the symbol DSM_Entry
nostrip=yes
pre_configure() {
sed -i CMakeLists.txt -e's; -Werror;;'
}