]> git.mxchange.org Git - flightgear.git/commitdiff
This is one leftover from Tat's patch from 2009-09-16:
authortorsten <torsten>
Wed, 21 Oct 2009 20:20:03 +0000 (20:20 +0000)
committerTim Moore <timoore@redhat.com>
Thu, 22 Oct 2009 21:26:02 +0000 (23:26 +0200)
I believe these patches are really important for Mac users since they don't have to wait for my updating xcode project files.
these also saves up to 50% of build time since most of users don't have to make universal binaries.

tests/Makefile.am

index 69612dbef9f3e9b5af0db2099fb34b6489d0a595..46db97225306222530bfaf018bc994c26e26209c 100644 (file)
@@ -2,6 +2,12 @@ bin_PROGRAMS = est-epsilon gl-info al-info
 
 noinst_PROGRAMS = test-gethostname test-mktime test-text test-up test-env-map
 
+if HAVE_FRAMEWORK_PLIB
+test_up_LDFLAGS = $(plib_FRAMEWORK)
+else
+test_up_PLIB_LIBS = -lplibsg -lplibul
+endif
+
 est_epsilon_SOURCES = est-epsilon.c
 est_epsilon_LDADD =  $(opengl_LIBS)
 
@@ -21,4 +27,4 @@ test_mktime_SOURCES = test-mktime.cxx
 test_text_SOURCES = test-text.cxx
 
 test_up_SOURCES = test-up.cxx
-test_up_LDADD = -lsgmath -lsgxml -lsgmisc -lsgdebug -lsgstructure -lsgtiming -lplibsg -lplibul -lz $(base_LIBS)
+test_up_LDADD = $(test_up_PLIB_LIBS) -lsgmath -lsgxml -lsgmisc -lsgdebug -lsgstructure -lsgtiming -lz $(base_LIBS)