Last active
March 17, 2016 08:52
-
-
Save false-git/b83f4ab8c3fc6759d684 to your computer and use it in GitHub Desktop.
quazip(http://quazip.sourceforge.net/) を Mac OS Xでビルドするためのパッチ
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
*** quazip/quazip.pro.orig 2015-03-12 13:50:17.000000000 +0900 | |
--- quazip/quazip.pro 2015-03-13 13:19:12.000000000 +0900 | |
*************** | |
*** 44,49 **** | |
--- 44,54 ---- | |
} | |
+ macx { | |
+ QMAKE_LIBS += -lz | |
+ QMAKE_LFLAGS_SONAME = -Wl,-install_name,$$PREFIX/lib/ | |
+ } | |
+ | |
win32 { | |
headers.path=$$PREFIX/include/quazip | |
headers.files=$$HEADERS | |
*************** | |
*** 51,56 **** | |
--- 56,62 ---- | |
INSTALLS += headers target | |
# workaround for qdatetime.h macro bug | |
DEFINES += NOMINMAX | |
+ QMAKE_LIBS += -lz | |
} | |
*** qztest/qztest.pro.orig 2015-03-13 13:19:31.000000000 +0900 | |
--- qztest/qztest.pro 2015-03-13 13:19:48.000000000 +0900 | |
*************** | |
*** 6,12 **** | |
CONFIG -= app_bundle | |
DEPENDPATH += . | |
INCLUDEPATH += . | |
! !win32: LIBS += -lz | |
win32 { | |
# workaround for qdatetime.h macro bug | |
DEFINES += NOMINMAX | |
--- 6,12 ---- | |
CONFIG -= app_bundle | |
DEPENDPATH += . | |
INCLUDEPATH += . | |
! LIBS += -lz | |
win32 { | |
# workaround for qdatetime.h macro bug | |
DEFINES += NOMINMAX |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment