summaryrefslogtreecommitdiff
path: root/packaging/RHEL/samba.spec.tmpl
diff options
context:
space:
mode:
authorBjörn Jacke <bj@sernet.de>2010-04-27 17:06:55 +0200
committerBjörn Jacke <bj@sernet.de>2010-04-27 17:20:22 +0200
commit8f74d38c3a4a853f608fed0bed1b55915d01555a (patch)
tree0bb6e64a0bbd9204c314b6497ef74c8df6659e01 /packaging/RHEL/samba.spec.tmpl
parent7ca576e5c4a0da616c2a6738859c9c989f76202e (diff)
downloadsamba-8f74d38c3a4a853f608fed0bed1b55915d01555a.tar.gz
samba-8f74d38c3a4a853f608fed0bed1b55915d01555a.tar.bz2
samba-8f74d38c3a4a853f608fed0bed1b55915d01555a.zip
s3/packaging: make rpm build work by overriding strict linker flags
Diffstat (limited to 'packaging/RHEL/samba.spec.tmpl')
-rw-r--r--packaging/RHEL/samba.spec.tmpl3
1 files changed, 3 insertions, 0 deletions
diff --git a/packaging/RHEL/samba.spec.tmpl b/packaging/RHEL/samba.spec.tmpl
index 4d27b1a9a8..ab10f239ed 100644
--- a/packaging/RHEL/samba.spec.tmpl
+++ b/packaging/RHEL/samba.spec.tmpl
@@ -131,6 +131,9 @@ fi
## always run autogen.sh
./autogen.sh
+## ignore insufficiently linked libreadline (RH bugzilla #499837):
+export LDFLAGS="$LDFLAGS -Wl,--allow-shlib-undefined,--no-as-needed"
+
CC="$CC" CFLAGS="$RPM_OPT_FLAGS $EXTRA -D_GNU_SOURCE" ./configure \
--prefix=%{_prefix} \
--localstatedir=/var \