From 1d013fd03295433698f2b301dbf8324a3db528eb Mon Sep 17 00:00:00 2001 From: Björn Jacke Date: Thu, 3 Dec 2009 00:02:44 +0100 Subject: 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(-) (limited to 'source3') diff --git a/source3/configure.in b/source3/configure.in index fb1d6313e1..32c9e3e2a7 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" -- cgit