diff options
author | Björn Jacke <bj@sernet.de> | 2010-04-27 17:06:55 +0200 |
---|---|---|
committer | Björn Jacke <bj@sernet.de> | 2010-04-27 17:20:22 +0200 |
commit | 8f74d38c3a4a853f608fed0bed1b55915d01555a (patch) | |
tree | 0bb6e64a0bbd9204c314b6497ef74c8df6659e01 /packaging | |
parent | 7ca576e5c4a0da616c2a6738859c9c989f76202e (diff) | |
download | samba-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')
-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 \ |