summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordon bright <hugh.m.bright@gmail.com>2012-07-15 23:13:50 (GMT)
committerdon bright <hugh.m.bright@gmail.com>2012-07-15 23:13:50 (GMT)
commit9123ad8d5e137f9a63059a14ba2c385b89a4f9cf (patch)
treef66296ceddd05c098defdc18680a3f01bdc4a7d8
parent8cc442369fa95b61b2a475f7cd1d63f3ab7ca713 (diff)
fix build bug on some DSO linux systems
-rw-r--r--openscad.pro5
1 files changed, 2 insertions, 3 deletions
diff --git a/openscad.pro b/openscad.pro
index 048fbb5..97f20e6 100644
--- a/openscad.pro
+++ b/openscad.pro
@@ -85,9 +85,8 @@ QT += opengl
# 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
- }
+ QMAKE_LIBS_OPENGL *= -lGLU
+ QMAKE_LIBS_OPENGL *= -lX11
}
netbsd* {
contact: Jan Huwald // Impressum