X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=simgear%2Fprops%2FMakefile.am;h=8e726f15a96a822ad73b25c2740923fdd90ab82e;hb=aefe9bc11682f39b3936b9f01a0d37e9d6428078;hp=30265b67e0c56310d7e4b2c085ca26cec94048c5;hpb=81b9ec50b0d04813626868afd0d7523a3b186e23;p=simgear.git diff --git a/simgear/props/Makefile.am b/simgear/props/Makefile.am index 30265b67..8e726f15 100644 --- a/simgear/props/Makefile.am +++ b/simgear/props/Makefile.am @@ -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)