changeset 1890:2c22f1351941

Fixed problem with nasm hidden visibility detection
author Sam Lantinga <slouken@libsdl.org>
date Mon, 26 Jun 2006 16:15:21 +0000
parents 5225a9cc25a2
children 40b43a80adb5
files configure.in
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/configure.in	Mon Jun 26 05:27:15 2006 +0000
+++ b/configure.in	Mon Jun 26 16:15:21 2006 +0000
@@ -622,7 +622,8 @@
             NASMFLAGS="$NASMFLAGS -i $srcdir/src/hermes/"
 
             dnl See if hidden visibility is supported
-            echo 'GLOBAL _bar:function hidden' > nasm_vis.asm
+            echo "GLOBAL _bar:function hidden" > nasm_vis.asm
+            echo "_bar:" >>nasm_vis.asm
             if $NASM $NASMFLAGS nasm_vis.asm -o nasm_vis.o >&AS_MESSAGE_LOG_FD 2>&1; then
                 NASMFLAGS="$NASMFLAGS -DHIDDEN_VISIBILITY"
             fi