From 8f74d38c3a4a853f608fed0bed1b55915d01555a Mon Sep 17 00:00:00 2001 From: Björn Jacke Date: Tue, 27 Apr 2010 17:06:55 +0200 Subject: s3/packaging: make rpm build work by overriding strict linker flags --- packaging/RHEL/samba.spec.tmpl | 3 +++ 1 file changed, 3 insertions(+) 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 \ -- cgit