vcpkg/ports/qscintilla/fix-static.patch
Matthias Kuhn e75b7c3681
[qscintilla] Update to 2.12 (#16455)
* Bump qscintilla to 2.12

* Versioning

* Shorten patch

* Switch to tar.gz

* [qscintilla] Update to 2.12

Co-authored-by: Jonliu1993 <13720414433@163.com>
2021-03-01 12:09:04 -08:00

30 lines
864 B
Diff

diff --git a/src/qscintilla.pro b/src/qscintilla.pro
index 8d0acd2..2246442 100644
--- a/src/qscintilla.pro
+++ b/src/qscintilla.pro
@@ -37,13 +37,13 @@ CONFIG(debug, debug|release) {
TARGET = qscintilla2_qt$${QT_MAJOR_VERSION}
}
-macx:!CONFIG(staticlib) {
+macx:!CONFIG(static) {
QMAKE_POST_LINK += install_name_tool -id @rpath/$(TARGET1) $(TARGET)
}
INCLUDEPATH += . ../scintilla/include ../scintilla/lexlib ../scintilla/src
-!CONFIG(staticlib) {
+!CONFIG(static) {
DEFINES += QSCINTILLA_MAKE_DLL
}
DEFINES += SCINTILLA_QT SCI_LEXER INCLUDE_DEPRECATED_FEATURES
@@ -82,7 +82,7 @@ qsci.files = ../qsci
INSTALLS += qsci
features.path = $$[QT_HOST_DATA]/mkspecs/features
-CONFIG(staticlib) {
+CONFIG(static) {
features.files = $$PWD/features_staticlib/qscintilla2.prf
} else {
features.files = $$PWD/features/qscintilla2.prf