mirror of
https://github.com/yann64/haikuports.git
synced 2026-03-19 01:46:00 +01:00
re2, remove static library (#8071)
This commit is contained in:
@@ -5,7 +5,7 @@ C++ library."
|
||||
HOMEPAGE="https://github.com/google/re2"
|
||||
COPYRIGHT="2009-2018 The RE2 Authors"
|
||||
LICENSE="BSD (3-clause)"
|
||||
REVISION="1"
|
||||
REVISION="2"
|
||||
RE_VERSION="${portVersion//./-}"
|
||||
SOURCE_URI="https://github.com/google/re2/archive/$RE_VERSION.tar.gz"
|
||||
CHECKSUM_SHA256="f89c61410a072e5cbcf8c27e3a778da7d6fd2f2b5b1445cd4f4508bee946ab0f"
|
||||
@@ -60,6 +60,9 @@ INSTALL()
|
||||
mv $prefix/include/* $includeDir
|
||||
rmdir $prefix/include
|
||||
|
||||
# remove static library
|
||||
rm $libDir/libre2.a
|
||||
|
||||
echo -e "prefix=$prefix\n$(cat $libDir/pkgconfig/re2.pc)" \
|
||||
> $libDir/pkgconfig/re2.pc
|
||||
sed -i -e "s/\-pthread//g" $libDir/pkgconfig/re2.pc
|
||||
|
||||
Reference in New Issue
Block a user