diff options
-rw-r--r-- | packaging/RHEL/samba.spec.tmpl | 3 |
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 \ |