summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjörn Jacke <bj@sernet.de>2009-12-03 00:02:44 +0100
committerBjörn Jacke <bj@sernet.de>2009-12-03 00:02:44 +0100
commit1d013fd03295433698f2b301dbf8324a3db528eb (patch)
tree58b1655515f39443c22824f0964af067c3097920
parent148e79d156d92b41dfe7d6ae6f8cd2e571a3bee6 (diff)
downloadsamba-1d013fd03295433698f2b301dbf8324a3db528eb.tar.gz
samba-1d013fd03295433698f2b301dbf8324a3db528eb.tar.bz2
samba-1d013fd03295433698f2b301dbf8324a3db528eb.zip
s3:build: fix shared library build on QNX
Fixes #6860. Thanks to Matt Kraai!
-rw-r--r--source3/configure.in7
1 files changed, 4 insertions, 3 deletions
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"