qrcodegen: add -fPIC to CXXFLAGS

This commit is contained in:
Jürgen Buchmüller 2020-03-06 19:34:55 +01:00
parent 47175dc8bb
commit 9f78141497

View file

@ -1,7 +1,7 @@
# Template file for 'qrcodegen'
pkgname=qrcodegen
version=1.6.0
revision=1
revision=2
wrksrc="QR-Code-generator-${version}"
build_wrksrc="cpp"
build_style=gnu-makefile
@ -12,6 +12,8 @@ homepage="https://www.nayuki.io/page/qr-code-generator-library"
distfiles="https://github.com/nayuki/QR-Code-generator/archive/v${version}.tar.gz"
checksum=8acee5a77325e075b910747ad4b1fdb1491b7e22d0b8f1b5a6ea15ea08ba33a8
CXXFLAGS="-fPIC"
do_install() {
sed -n "/^License/,/xxxx/p" ../Readme.markdown > LICENSE
vlicense LICENSE