From ed97940f56d0d9ff99ec28750986fb6ff513a39b Mon Sep 17 00:00:00 2001 From: don bright Date: Sat, 29 Dec 2012 22:27:44 +0100 Subject: [PATCH] make RPATH work on uni-build-dependencies with GLEW on 64 bit machines --- openscad.pro | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/openscad.pro b/openscad.pro index 0048963e..747a8235 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 } }