aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorFabio Battaglia2011-05-31 15:15:19 +0200
committerFabio Battaglia2011-05-31 15:16:25 +0200
commit42fa23ff1626e3232ce6ec240dc93b119c079c60 (patch)
treeee67f76155bde7101bd2abe65b4ac4b97cca1caf /configure
parent811b257014c9e30a2fea9b189b2d37751cdb2e07 (diff)
downloadscummvm-rg350-42fa23ff1626e3232ce6ec240dc93b119c079c60.tar.gz
scummvm-rg350-42fa23ff1626e3232ce6ec240dc93b119c079c60.tar.bz2
scummvm-rg350-42fa23ff1626e3232ce6ec240dc93b119c079c60.zip
CONFIGURE: move some libs required by n64 port
Some system libs weren't found during link stage, this should fix it
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure7
1 files changed, 6 insertions, 1 deletions
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