From: Björn Jacke Date: Wed, 2 Dec 2009 23:02:44 +0000 (+0100) Subject: s3:build: fix shared library build on QNX X-Git-Tag: samba-4.0.0alpha10~135 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1d013fd03295433698f2b301dbf8324a3db528eb;p=thirdparty%2Fsamba.git s3:build: fix shared library build on QNX Fixes #6860. Thanks to Matt Kraai! --- diff --git a/source3/configure.in b/source3/configure.in index fb1d6313e10..32c9e3e2a7d 100644 --- a/source3/configure.in +++ b/source3/configure.in @@ -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"