aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2014-08-06 09:54:02 +1000
committerNeil <nyamatongwe@gmail.com>2014-08-06 09:54:02 +1000
commite76924312831d45959c069ca5b1774c2675061c5 (patch)
tree026d8fa5f4e9c0182dd56ef48167b99d0d122303
parent73959e44f660564ab1b450f8ef7cc139e1820ba2 (diff)
downloadscintilla-mirror-e76924312831d45959c069ca5b1774c2675061c5.tar.gz
Bug [#1635]. Make build on FreeBSD 9.2.
-rw-r--r--qt/ScintillaEditPy/ScintillaEditPy.pro5
1 files changed, 4 insertions, 1 deletions
diff --git a/qt/ScintillaEditPy/ScintillaEditPy.pro b/qt/ScintillaEditPy/ScintillaEditPy.pro
index d8884e5ad..96d25d85b 100644
--- a/qt/ScintillaEditPy/ScintillaEditPy.pro
+++ b/qt/ScintillaEditPy/ScintillaEditPy.pro
@@ -32,9 +32,12 @@ INCLUDEPATH += $$PYSIDE_INCLUDES/QtCore
INCLUDEPATH += $$PYSIDE_INCLUDES/QtGui
unix:!mac {
- LIBS += -ldl
LIBS += `pkg-config pyside --libs`
+}
+unix:linux {
+ # gcc on freebsd 9.2, at least, doesn't support -Wno-empty-body
QMAKE_CXXFLAGS += -Wno-unused-parameter -Wno-empty-body
+ LIBS += -ldl
}
macx {