]> git.mxchange.org Git - simgear.git/commitdiff
Fix linkage of test programs with OpenThreads.
authorjmt <jmt>
Thu, 15 Jan 2009 14:46:37 +0000 (14:46 +0000)
committerTim Moore <timoore@redhat.com>
Thu, 15 Jan 2009 21:49:00 +0000 (22:49 +0100)
simgear/props/Makefile.am
simgear/sound/Makefile.am

index f1cf6f9a99c2779dd5bce157e3d22e57c6e0aec0..f3ad95d0b9387b1a4ac1e1142174dda748d185f9 100644 (file)
@@ -20,6 +20,7 @@ props_test_LDADD = \
        $(top_builddir)/simgear/xml/libsgxml.a \
        $(top_builddir)/simgear/misc/libsgmisc.a \
        $(top_builddir)/simgear/debug/libsgdebug.a \
-       $(top_builddir)/simgear/structure/libsgstructure.a
+       $(top_builddir)/simgear/structure/libsgstructure.a \
+       -lOpenThreads
 
 INCLUDES = -I$(top_srcdir)
index c627346369860620ee6f13668330c112e4842574..48381175ade36d26083126df6acaff68f3738612 100644 (file)
@@ -30,6 +30,7 @@ openal_test2_LDADD = \
        $(top_builddir)/simgear/debug/libsgdebug.a \
        $(top_builddir)/simgear/misc/libsgmisc.a \
        $(top_builddir)/simgear/structure/libsgstructure.a \
-       $(openal_LIBS)
+       $(openal_LIBS) \
+       -lOpenThreads
 
 INCLUDES = -I$(top_srcdir) -DSRC_DIR=\"$(top_srcdir)/simgear/sound\"