diff options
-rw-r--r-- | openscad.pro | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/openscad.pro b/openscad.pro index 0048963..747a823 100644 --- a/openscad.pro +++ b/openscad.pro @@ -103,10 +103,12 @@ netbsd* { # Prevent LD_LIBRARY_PATH problems when running the openscad binary # on systems where uni-build-dependencies.sh was used. -# Will not affect 'normal' builds. Also this is not tested on Mac +# Will not affect 'normal' builds. !isEmpty(OPENSCAD_LIBDIR) { unix:!macx { QMAKE_LFLAGS = -Wl,-R$$OPENSCAD_LIBDIR/lib $$QMAKE_LFLAGS + # need /lib64 beause GLEW installs itself there on 64 bit machines + QMAKE_LFLAGS = -Wl,-R$$OPENSCAD_LIBDIR/lib64 $$QMAKE_LFLAGS } } |