From 42fa23ff1626e3232ce6ec240dc93b119c079c60 Mon Sep 17 00:00:00 2001 From: Fabio Battaglia Date: Tue, 31 May 2011 15:15:19 +0200 Subject: CONFIGURE: move some libs required by n64 port Some system libs weren't found during link stage, this should fix it --- configure | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'configure') diff --git a/configure b/configure index c8cb45554d..fe5784caed 100755 --- a/configure +++ b/configure @@ -2249,7 +2249,7 @@ case $_backend in INCLUDES="$INCLUDES "'-I$(N64SDK)/hkz-libn64' INCLUDES="$INCLUDES "'-I$(srcdir)/backends/platform/n64' LIBS="$LIBS -lpakfs -lframfs -ln64 -ln64utils -lromfs" - LIBS="$LIBS -lm -lstdc++ -lc -lgcc -lz -lnosys" + LIBS="$LIBS -lm -lstdc++ -lz" ;; null) DEFINES="$DEFINES -DUSE_NULL_DRIVER" @@ -3208,6 +3208,11 @@ case $_backend in # than pick up anything unhygenic from the Android libs. LIBS="-Wl,-Bstatic $static_libs -Wl,-Bdynamic -lgcc $system_libs -llog -lGLESv1_CM" ;; + n64) + # Move some libs down here, otherwise some symbols requires by libvorbis aren't found + # during linking stage + LIBS="$LIBS -lc -lgcc -lnosys" + ;; esac -- cgit v1.2.3