X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=simgear%2Fprops%2FMakefile.am;h=8e726f15a96a822ad73b25c2740923fdd90ab82e;hb=aefe9bc11682f39b3936b9f01a0d37e9d6428078;hp=f3ad95d0b9387b1a4ac1e1142174dda748d185f9;hpb=7e7ce2f38e87d6244e05730fa4382da088bb25f1;p=simgear.git diff --git a/simgear/props/Makefile.am b/simgear/props/Makefile.am index f3ad95d0..8e726f15 100644 --- a/simgear/props/Makefile.am +++ b/simgear/props/Makefile.am @@ -20,7 +20,12 @@ 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 \ - -lOpenThreads + $(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)