* gluit/Makefile.am,
* libsrc/Makefile.am: Add extra LD_FLAGS.
---
external/trimesh/ChangeLog | 7 +++++++
external/trimesh/gluit/Makefile.am | 1 +
external/trimesh/libsrc/Makefile.am | 1 +
3 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/external/trimesh/ChangeLog b/external/trimesh/ChangeLog
index cae27a2..0f1a80f 100644
--- a/external/trimesh/ChangeLog
+++ b/external/trimesh/ChangeLog
@@ -1,3 +1,10 @@
+2009-09-09 Guillaume Lazzara <guillaume.lazzara(a)epita.fr>
+
+ Add extra LD_FLAGS in Trimesh.
+
+ * gluit/Makefile.am,
+ * libsrc/Makefile.am: Add extra LD_FLAGS.
+
2009-06-16 Guillaume Lazzara <guillaume.lazzara(a)epita.fr>
* utilsrc/mesh_shade.cc: fix compilation issues with ICC 10 and 11.
diff --git a/external/trimesh/gluit/Makefile.am b/external/trimesh/gluit/Makefile.am
index 3944737..bc336c2 100644
--- a/external/trimesh/gluit/Makefile.am
+++ b/external/trimesh/gluit/Makefile.am
@@ -20,6 +20,7 @@
# Find config.h.
AM_CPPFLAGS = -I$(top_builddir)
AM_CPPFLAGS += -I$(top_srcdir)/include -I$(top_srcdir)/include/GL
+AM_LDFLAGS = -lGL -lGLU -lX11
lib_LTLIBRARIES = libgluit.la
diff --git a/external/trimesh/libsrc/Makefile.am b/external/trimesh/libsrc/Makefile.am
index 3a22f80..36e72b4 100644
--- a/external/trimesh/libsrc/Makefile.am
+++ b/external/trimesh/libsrc/Makefile.am
@@ -18,6 +18,7 @@
## Process this file through Automake to produce Makefile.in.
AM_CPPFLAGS = -I$(top_srcdir)/include
+AM_LDFLAGS = -lGL -lGLU
# FIXME: We should use Libtool instead.
lib_LTLIBRARIES = libtrimesh.la
--
1.5.6.5
Show replies by date