|
|
b585ba |
|
|
|
b585ba |
Only link libraries using -rpath, to avoid unnecessary RPATH tags in executables.
|
|
|
b585ba |
|
|
|
b585ba |
diff -uap subversion-1.10.0/build.conf.rpath subversion-1.10.0/build.conf
|
|
|
b585ba |
--- subversion-1.10.0/build.conf.rpath
|
|
|
b585ba |
+++ subversion-1.10.0/build.conf
|
|
|
b585ba |
@@ -568,7 +568,7 @@
|
|
|
b585ba |
path = subversion/bindings/swig/python/libsvn_swig_py
|
|
|
b585ba |
libs = libsvn_client libsvn_wc libsvn_ra libsvn_delta libsvn_subr
|
|
|
b585ba |
apriconv apr python swig
|
|
|
b585ba |
-link-cmd = $(LINK)
|
|
|
b585ba |
+link-cmd = $(LINK_LIB)
|
|
|
b585ba |
install = swig-py-lib
|
|
|
b585ba |
# need special build rule to include -DSWIGPYTHON
|
|
|
b585ba |
compile-cmd = $(COMPILE_SWIG_PY)
|
|
|
b585ba |
@@ -594,7 +594,7 @@
|
|
|
b585ba |
lang = ruby
|
|
|
b585ba |
path = subversion/bindings/swig/ruby/libsvn_swig_ruby
|
|
|
b585ba |
libs = libsvn_client libsvn_wc libsvn_delta libsvn_subr apriconv apr ruby swig
|
|
|
b585ba |
-link-cmd = $(LINK) $(SWIG_RB_LIBS)
|
|
|
b585ba |
+link-cmd = $(LINK_LIB) $(SWIG_RB_LIBS)
|
|
|
b585ba |
install = swig-rb-lib
|
|
|
b585ba |
# need special build rule to include
|
|
|
b585ba |
compile-cmd = $(COMPILE_SWIG_RB)
|
|
|
b585ba |
diff -uap subversion-1.10.0/Makefile.in.rpath subversion-1.10.0/Makefile.in
|
|
|
b585ba |
--- subversion-1.10.0/Makefile.in.rpath
|
|
|
b585ba |
+++ subversion-1.10.0/Makefile.in
|
|
|
b585ba |
@@ -264,10 +264,10 @@
|
|
|
b585ba |
COMPILE_GOOGLEMOCK_CXX = $(LT_COMPILE_CXX_NOWARN) $(GOOGLEMOCK_LIB_INCLUDES) -o $@ -c
|
|
|
b585ba |
COMPILE_CXXHL_GOOGLEMOCK_CXX = $(LT_COMPILE_CXX) $(CXXHL_INCLUDES) $(GOOGLEMOCK_INCLUDES) -o $@ -c
|
|
|
b585ba |
|
|
|
b585ba |
-LINK = $(LIBTOOL) $(LTFLAGS) --mode=link $(CC) $(LT_LDFLAGS) $(CFLAGS) $(LDFLAGS) -rpath $(libdir)
|
|
|
b585ba |
-LINK_LIB = $(LINK) $(LT_SO_VERSION)
|
|
|
b585ba |
-LINK_CXX = $(LIBTOOL) $(LTCXXFLAGS) --mode=link $(CXX) $(LT_LDFLAGS) $(CXXFLAGS) $(LDFLAGS) -rpath $(libdir)
|
|
|
b585ba |
-LINK_CXX_LIB = $(LINK_CXX) $(LT_SO_VERSION)
|
|
|
b585ba |
+LINK = $(LIBTOOL) $(LTFLAGS) --mode=link $(CC) $(LT_LDFLAGS) $(CFLAGS) $(LDFLAGS)
|
|
|
b585ba |
+LINK_LIB = $(LINK) $(LT_SO_VERSION) -rpath $(libdir)
|
|
|
b585ba |
+LINK_CXX = $(LIBTOOL) $(LTCXXFLAGS) --mode=link $(CXX) $(LT_LDFLAGS) $(CXXFLAGS) $(LDFLAGS)
|
|
|
b585ba |
+LINK_CXX_LIB = $(LINK_CXX) $(LT_SO_VERSION) -rpath $(libdir)
|
|
|
b585ba |
|
|
|
b585ba |
# special link rule for mod_dav_svn
|
|
|
b585ba |
LINK_APACHE_MOD = $(LIBTOOL) $(LTFLAGS) --mode=link $(CC) $(LT_LDFLAGS) $(CFLAGS) $(LDFLAGS) -rpath $(APACHE_LIBEXECDIR) -avoid-version -module $(APACHE_LDFLAGS) -shared
|