ripped from Fedora | |
--- a/support/shobj-conf | |
+++ b/support/shobj-conf | |
@@ -102,7 +102,7 @@ | |
SHOBJ_LD='${CC}' | |
SHOBJ_LDFLAGS='-shared -Wl,-soname,$@' | |
- SHLIB_XLDFLAGS='-Wl,-rpath,$(libdir) -Wl,-soname,`basename $@ $(SHLIB_MINOR)`' | |
+ SHLIB_XLDFLAGS='-Wl,-soname,`basename $@ $(SHLIB_MINOR)`' | |
SHLIB_LIBVERSION='$(SHLIB_LIBSUFF).$(SHLIB_MAJOR)$(SHLIB_MINOR)' | |
;; | |