qca-qt5: fix cross

This commit is contained in:
Juergen Buchmueller 2016-11-08 18:36:24 +01:00
parent f27882701d
commit 82aa1cfb64
1 changed files with 4 additions and 0 deletions

View File

@ -19,6 +19,10 @@ checksum=226dcd76138c3738cdc15863607a96b3758a4c3efd3c47295939bcea4e7a9284
provides="qca-${version}_${revision}" provides="qca-${version}_${revision}"
replaces="qca>=0" replaces="qca>=0"
if [ -n "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-host-tools qt5-devel"
fi
pre_configure() { pre_configure() {
sed -e "s;-D_BSD_SOURCE;-D_DEFAULT_SOURCE;" \ sed -e "s;-D_BSD_SOURCE;-D_DEFAULT_SOURCE;" \
-i CMakeLists.txt -i CMakeLists.txt