diff --git a/fceux.pro b/fceux.pro index 46a7c2fd..6961d182 100644 --- a/fceux.pro +++ b/fceux.pro @@ -48,6 +48,8 @@ unix { QMAKE_CXXFLAGS -= -O2 QMAKE_CXXFLAGS += -D__QT_DRIVER__ -O0 -g3 -Wall -Wno-write-strings -Wno-sign-compare -Wno-parentheses -Wno-unused-local-typedefs QMAKE_CXXFLAGS_RELEASE -= -O2 + + LIBS += -lz } # Input diff --git a/pipelines/macOS_build.sh b/pipelines/macOS_build.sh index 69705d61..9596f945 100755 --- a/pipelines/macOS_build.sh +++ b/pipelines/macOS_build.sh @@ -18,11 +18,15 @@ echo '****************************************' brew install sdl2 brew install qt5 brew install minizip -brew install zlib +#brew install zlib # Already installed in appveyor macOS + +export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/local/lib/pkgconfig: + +QMAKE=`find /usr/local -name qmake`; mkdir build; cd build; -/usr/local/Cellar/qt/5.15.0/bin/qmake .. +$QMAKE .. make # Debug via ssh if necessary