diff options
author | don bright <hugh.m.bright@gmail.com> | 2012-12-29 21:27:44 (GMT) |
---|---|---|
committer | don bright <hugh.m.bright@gmail.com> | 2012-12-29 21:27:44 (GMT) |
commit | ed97940f56d0d9ff99ec28750986fb6ff513a39b (patch) | |
tree | 3b1c95e9ad37484e0b7d011d65b8124be7f57632 /openscad.pro | |
parent | 7afcc417b3d26274342ad5293eaad76d7719ae32 (diff) |
make RPATH work on uni-build-dependencies with GLEW on 64 bit machines
Diffstat (limited to 'openscad.pro')
-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 } } |