changeset 1714:b025e419d344 SDL-1.3

Fixed problem with nasm hidden visibility detection
author Sam Lantinga <slouken@libsdl.org>
date Mon, 26 Jun 2006 16:15:36 +0000
parents 3e66ed1690e4
children 364df7679e6b
files configure.in
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/configure.in	Mon Jun 26 14:29:50 2006 +0000
+++ b/configure.in	Mon Jun 26 16:15:36 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