Fixed problem with nasm hidden visibility detection SDL-1.3
authorSam Lantinga <slouken@libsdl.org>
Mon, 26 Jun 2006 16:15:36 +0000
branchSDL-1.3
changeset 1714 b025e419d344
parent 1713 3e66ed1690e4
child 1715 364df7679e6b
Fixed problem with nasm hidden visibility detection
configure.in
--- 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