summaryrefslogtreecommitdiff
path: root/openscad.pro
diff options
context:
space:
mode:
authorMarius Kintel <marius@kintel.net>2012-06-04 05:48:42 (GMT)
committerMarius Kintel <marius@kintel.net>2012-06-04 05:48:42 (GMT)
commit2836f0c37273aa41ba8280ee459ced418dbb74ea (patch)
tree513ad0da109fb114ac637d9c0b1cdd3e74e52a10 /openscad.pro
parent5b366adf8a9fb1b677eb9340f97ec764a15e5425 (diff)
parent6f65f92c6707147dd676094a98bdf715557bcb58 (diff)
Merge branch 'master' into caliston1
Diffstat (limited to 'openscad.pro')
-rw-r--r--openscad.pro10
1 files changed, 7 insertions, 3 deletions
diff --git a/openscad.pro b/openscad.pro
index 453ab77..591ed5f 100644
--- a/openscad.pro
+++ b/openscad.pro
@@ -81,9 +81,13 @@ win32 {
CONFIG += qt
QT += opengl
-# Fedora Linux + DSO fix
-linux*:exists(/usr/lib64/libGLU*)|linux*:exists(/usr/lib/libGLU*) {
- LIBS += -lGLU
+# see http://fedoraproject.org/wiki/UnderstandingDSOLinkChange
+# and https://github.com/openscad/openscad/pull/119
+# ( QT += opengl does not automatically link glu on some DSO systems. )
+unix:!macx {
+ !contains ( QMAKE_LIBS_OPENGL, "-lGLU" ) {
+ QMAKE_LIBS_OPENGL += -lGLU
+ }
}
netbsd* {
contact: Jan Huwald // Impressum