]> git.saurik.com Git - wxWidgets.git/blobdiff - configure.in
fix for native compilers on Solaris
[wxWidgets.git] / configure.in
index e0355e9ed6ba0b3ffff1545a69b06aadde7d444e..7e51e6e47ad414fae968230fb0b744689a1013bd 100644 (file)
@@ -1771,7 +1771,7 @@ if test "$wxUSE_SHARED" = "yes"; then
             PIC_FLAG="-fPIC"
         else
             SHARED_LD="${CXX} -G -o"
-            PIC_FLAG="PIC"
+            PIC_FLAG="-KPIC"
         fi
         WX_ALL_INSTALLED="CREATE_INSTALLED_LINKS"
         WX_ALL="CREATE_LINKS"