qt: fx darwin build with latest xcode

This commit is contained in:
Tony Theodore 2019-04-03 22:15:56 +11:00
parent 92881eea6e
commit 9426f0df0b
1 changed files with 5 additions and 0 deletions

View File

@ -20,6 +20,11 @@ define $(PKG)_UPDATE
endef
define $(PKG)_BUILD
# will likely break again soon so use sed instead of patches
$(SED) -i 's,mmacosx-version-min=10.[0-9],mmacosx-version-min=10.9,g' '$(1)/mkspecs//common/g++-macx.conf'
$(SED) -i 's,mmacosx-version-min=10.[0-9],mmacosx-version-min=10.9,g' '$(1)/configure'
$(SED) -i 's,MACOSX_DEPLOYMENT_TARGET = 10.[0-9],MACOSX_DEPLOYMENT_TARGET = 10.9,g' '$(1)/configure'
$(SED) -i 's,QMAKE_MACOSX_DEPLOYMENT_TARGET 10.[0-9],QMAKE_MACOSX_DEPLOYMENT_TARGET 10.9,g' '$(1)/configure'
cd '$(1)' && QTDIR='$(1)' ./bin/syncqt
cd '$(1)' && \
OPENSSL_LIBS="`'$(TARGET)-pkg-config' --libs-only-l openssl`" \