s3:build: fix shared library build on QNX
authorBjörn Jacke <bj@sernet.de>
Wed, 2 Dec 2009 23:02:44 +0000 (00:02 +0100)
committerBjörn Jacke <bj@sernet.de>
Wed, 2 Dec 2009 23:02:44 +0000 (00:02 +0100)
Fixes #6860. Thanks to Matt Kraai!

source3/configure.in

index fb1d6313e10bda5d1541ecc3cfe7647c4c8a3818..32c9e3e2a7d8ac9b385f1c946768473c726b3362 100644 (file)
@@ -1541,9 +1541,10 @@ DSO_EXPORTS=""
 
   # and these are for particular systems
   case "$host_os" in
-               *linux* | gnu* | k*bsd*-gnu | kopensolaris*-gnu)
-                       case "$host_os" in *linux*)
-                               AC_DEFINE(LINUX,1,[Whether the host os is linux]) ;;
+               *linux* | gnu* | k*bsd*-gnu | kopensolaris*-gnu | *qnx*)
+                       case "$host_os" in
+                               *linux*) AC_DEFINE(LINUX,1,[Whether the host os is linux]) ;;
+                               *qnx*) AC_DEFINE(QNX,1,[Whether the host os is qnx]) ;;
                        esac
                        BLDSHARED="true"
                        LDSHFLAGS="-shared -Wl,-Bsymbolic"