Advertisement
cmsigler

[AUR] [meshlab-git] rpath.patch

Mar 17th, 2018
354
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.25 KB | None | 0 0
  1. diff -urN src/meshlab/src/meshlab/meshlab.pro.orig src/meshlab/src/meshlab/meshlab.pro
  2. --- src/meshlab/src/meshlab/meshlab.pro.orig 2018-03-17 09:34:30.808689348 -0400
  3. +++ src/meshlab/src/meshlab/meshlab.pro 2018-03-17 09:46:00.396338418 -0400
  4. @@ -155,7 +155,7 @@
  5. #}
  6.  
  7. linux:LIBS += -L$$PWD/../external/lib/linux -ljhead -L../distrib -lcommon -lGLU
  8. -linux:QMAKE_RPATHDIR += ../distrib
  9. +linux:QMAKE_LFLAGS += -Wl,-rpath,/usr/lib/meshlab
  10.  
  11. # uncomment in your local copy only in emergency cases.
  12. # We should never be too permissive
  13. diff -urN src/meshlab/src/meshlabserver/meshlabserver.pro.orig src/meshlab/src/meshlabserver/meshlabserver.pro
  14. --- src/meshlab/src/meshlabserver/meshlabserver.pro.orig 2018-03-17 09:34:30.809689366 -0400
  15. +++ src/meshlab/src/meshlabserver/meshlabserver.pro 2018-03-17 09:43:48.024718376 -0400
  16. @@ -30,7 +30,7 @@
  17. win32-msvc2015: LIBS += -L../distrib -lcommon -lopengl32 -lGLU32
  18. win32-g++: LIBS += -L../distrib -lcommon
  19. linux: LIBS += -L../distrib -lcommon
  20. -linux:QMAKE_RPATHDIR += ../distrib
  21. +linux:QMAKE_LFLAGS += -Wl,-rpath,/usr/lib/meshlab
  22. #CONFIG (release,debug | release) {
  23. # win32-msvc2005:release: LIBS += -L../common/release -lcommon
  24. # win32-msvc2008:release: LIBS += -L../common/release -lcommon
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement