list the libs as libs instead of flags so they get passed through as dependencies in the libtool archive
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)