]> git.mxchange.org Git - simgear.git/blobdiff - simgear/props/Makefile.am
MacOS X fix
[simgear.git] / simgear / props / Makefile.am
index 30265b67e0c56310d7e4b2c085ca26cec94048c5..8e726f15a96a822ad73b25c2740923fdd90ab82e 100644 (file)
@@ -16,10 +16,16 @@ noinst_PROGRAMS = props_test
 
 props_test_SOURCES = props_test.cxx
 props_test_LDADD = \
-       $(top_builddir)/simgear/props/libsgprops.a \
+       libsgprops.a \
        $(top_builddir)/simgear/xml/libsgxml.a \
        $(top_builddir)/simgear/misc/libsgmisc.a \
        $(top_builddir)/simgear/debug/libsgdebug.a \
        $(top_builddir)/simgear/structure/libsgstructure.a
 
+if HAVE_FRAMEWORK_OSG
+props_test_LDFLAGS = $(openthreads_FRAMEWORK)
+else
+props_test_LDFLAGS = -lOpenThreads
+endif
+
 INCLUDES = -I$(top_srcdir)