configure: Disable PIC for cygwin just as for win32/mingw
authorMartin Storsjö <martin@martin.st>
Mon, 13 May 2013 09:06:40 +0000 (12:06 +0300)
committerMartin Storsjö <martin@martin.st>
Mon, 13 May 2013 17:20:55 +0000 (20:20 +0300)
If this is explicitly disabled for win32/mingw, it should also
be disabled for cygwin, for consistency and for the same reasons
as for win32/mingw.

Signed-off-by: Martin Storsjö <martin@martin.st>
configure

index b67a8bf..c84050c 100755 (executable)
--- a/configure
+++ b/configure
@@ -3084,6 +3084,7 @@ case $target_os in
         SHFLAGS='-shared -Wl,--out-implib,$(SUBDIR)lib$(FULLNAME).dll.a'
         objformat="win32"
         enable dos_paths
+        disable pic
         ;;
     *-dos|freedos|opendos)
         network_extralibs="-lsocket"