]> git.mxchange.org Git - flightgear.git/commitdiff
Patches from Johan Walles:
authordavid <david>
Wed, 5 Feb 2003 01:09:20 +0000 (01:09 +0000)
committerdavid <david>
Wed, 5 Feb 2003 01:09:20 +0000 (01:09 +0000)
Here are the two modifications I had to make to get flightgear (just
updated from CVS) to build.  The first one is for being able to specify
SimGear's location at the ./configure command line, and the second one
is to be able to link.

configure.ac
src/Input/Makefile.am

index aa4c4c7a7ee2284f3347b330f90148afe083a39f..d1e2f452085a19825df667b333cb4428d178fcfc 100644 (file)
@@ -137,7 +137,7 @@ case "${host}" in
     if test -d /opt/X11R6 ; then
         EXTRA_DIR2="/opt/X11R6"
     fi
-    EXTRA_DIRS="$EXTRA_DIR1 $EXTRA_DIR2"
+    EXTRA_DIRS="${EXTRA_DIRS} $EXTRA_DIR1 $EXTRA_DIR2"
     ;;
 
 esac
index 63566249d4a5f2ee383a1fbcb618c8f9e46a3ff5..65e578e84907616d775bd858b0f29e8b135d189e 100644 (file)
@@ -6,10 +6,10 @@ bin_PROGRAMS = js_demo fgjs
 
 js_demo_SOURCES = js_demo.cxx
 
-js_demo_LDADD = -lplibjs -lplibul $(audio_LIBS)
+js_demo_LDADD = -lplibjs $(audio_LIBS) -lplibul
 
 fgjs_SOURCES = fgjs.cxx jsinput.cxx jsinput.h jssuper.cxx jssuper.h
 
-fgjs_LDADD = -lplibjs -lplibul $(audio_LIBS)
+fgjs_LDADD = -lplibjs $(audio_LIBS) -lplibul
 
 INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/src