From 1d013fd03295433698f2b301dbf8324a3db528eb Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bj=C3=B6rn=20Jacke?= Date: Thu, 3 Dec 2009 00:02:44 +0100 Subject: [PATCH] s3:build: fix shared library build on QNX Fixes #6860. Thanks to Matt Kraai! --- source3/configure.in | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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" -- 2.47.3