Commit 1b65850475481af37d8fa5692c71bb9970625368

brlcad 2008-05-04T02:57:13

list the libs as libs instead of flags so they get passed through as dependencies in the libtool archive

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff --git a/src/Makefile.am b/src/Makefile.am
index cbb8d25..bf4abd7 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -29,7 +29,9 @@ libftgl_la_SOURCES = \
 libftgl_la_CPPFLAGS = -IFTGlyph -IFTFont -IFTLayout
 libftgl_la_CXXFLAGS = $(FT2_CFLAGS) $(GL_CFLAGS)
 libftgl_la_LDFLAGS = \
-        $(FT2_LIBS) $(GL_LIBS) -no-undefined -version-number @LT_VERSION@
+        -no-undefined -version-number $(LT_VERSION)
+libftgl_la_LIBADD = \
+	$(FT2_LIBS) $(GL_LIBS)
 
 ftgldir = $(includedir)/FTGL
 ftgl_HEADERS = $(ftgl_headers)