libusb: only require libgcc_s when using gcc4.

* Gcc2 does not provide this library, this would make the libusb package
not installable.
This commit is contained in:
Adrien Destugues
2014-08-24 16:23:56 +02:00
parent 64b8b93c34
commit 77670602e4

View File

@@ -41,8 +41,14 @@ PROVIDES="
REQUIRES="
haiku$secondaryArchSuffix >= $haikuVersion
lib:libstdc++$secondaryArchSuffix
lib:libgcc_s$secondaryArchSuffix
"
if [ $effectiveTargetArchitecture != x86_gcc2 ]; then
REQUIRES+="
lib:libgcc_s$secondaryArchSuffix
"
fi
BUILD_REQUIRES="
"
BUILD_PREREQUIRES="