]> git.mxchange.org Git - simgear.git/commitdiff
Hopefully fix a chicken/egg linking problem for people who've never built
authorcurt <curt>
Thu, 29 Apr 2004 21:14:44 +0000 (21:14 +0000)
committercurt <curt>
Thu, 29 Apr 2004 21:14:44 +0000 (21:14 +0000)
or installed simgear before.

simgear/sound/Makefile.am

index 1488f132e530dcab24b5a5f83ac085211108ebed..c570677c92f0da521c2f77c7622ada1dfe2f36bc 100644 (file)
@@ -21,9 +21,14 @@ noinst_PROGRAMS = openal_test1 openal_test2
 openal_test1_SOURCES = openal_test1.cxx
 openal_test2_SOURCES = openal_test2.cxx
 
-openal_test1_LDADD = -lsgdebug $(openal_LIBS)
+openal_test1_LDADD = \
+       $(top_builddir)/simgear/debug/libsgdebug.a \
+       $(openal_LIBS)
 openal_test2_LDADD = \
        $(top_builddir)/simgear/sound/libsgsound.a \
-       -lsgdebug -lsgmisc -lsgstructure $(openal_LIBS)
+       $(top_builddir)/simgear/debug/libsgdebug.a \
+       $(top_builddir)/simgear/misc/libsgmisc.a \
+       $(top_builddir)/simgear/structure/libsgstructure.a \
+       $(openal_LIBS)
 
 INCLUDES = -I$(top_srcdir)