ports/cad/meshlab/files/patch-meshlab_meshlab.pro
Pietro Cerutti 4532f38559 - Fix run-time segmentation fault [1]
- Convert to new LIB_DEPENDS format
- Fix build with clang (no longer depends on GCC)
- Statically link against own library libcommon.a, to avoid
  installing a library with such a generic name as libcommon.so

PR:		183474 [1]
Submitted by:	Pierre Smars <smars@yuntech.edu.tw> [1]
2013-10-31 17:19:27 +00:00

12 lines
511 B
INI

--- meshlab/meshlab.pro.orig 2012-05-30 16:32:44.000000000 +0200
+++ meshlab/meshlab.pro 2013-05-08 10:34:55.000000000 +0200
@@ -136,6 +136,9 @@
linux-g++-64:LIBS += -L../external/lib/linux-g++-64 -L../distrib -lcommon -lGLU
linux-g++-64:QMAKE_RPATHDIR += ../distrib
+LIBS += -L../external/jhead-2.95 ../common/libcommon.a -lGLU -ljhead
+QMAKE_RPATHDIR += ../distrib
+
# uncomment in your local copy only in emergency cases.
# We should never be too permissive
# win32-g++:QMAKE_CXXFLAGS += -fpermissive