summaryrefslogtreecommitdiff
path: root/dist/package
diff options
context:
space:
mode:
authorAlex Gorrod <alexg@wiredtiger.com>2014-04-01 03:16:25 +0000
committerAlex Gorrod <alexg@wiredtiger.com>2014-04-01 03:16:25 +0000
commitbeafb9afcc0270029576188dbb68cc772f863fc5 (patch)
tree94a72ebfda97f9d726128bf46eae56ee2b5eefaf /dist/package
parent6887be9ff869b19aa913ccb77908d1d6f4232be8 (diff)
downloadmongo-beafb9afcc0270029576188dbb68cc772f863fc5.tar.gz
Fix RPM build script to not include rpath.
Diffstat (limited to 'dist/package')
-rw-r--r--dist/package/wiredtiger.spec5
1 files changed, 4 insertions, 1 deletions
diff --git a/dist/package/wiredtiger.spec b/dist/package/wiredtiger.spec
index 3249ab9af81..1db653aff18 100644
--- a/dist/package/wiredtiger.spec
+++ b/dist/package/wiredtiger.spec
@@ -27,7 +27,10 @@ WiredTiger is a library that can be accessed via C, Python and Java APIs.
%build
-%configure --enable-java
+%configure --enable-java --enable-bzip2 --enable-snappy --enable-zlib
+# Stop the build setting up an rpath
+sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
+sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
make %{?_smp_mflags}