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:04:56 +0000 (00:04 +0100)
Fixes #6860. Thanks to Matt Kraai!

source3/configure.in

index 2f92a02da8908bb26d7bedf0156bfcee9acf43bb..48a83459e6d82228752672d11d0bbb5932a10764 100644 (file)
@@ -1491,9 +1491,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"