Alexander Pyhalov
2018-01-29 86739b69c613c66a42b9945b2e850e50c171695a
tcl: avoid adding -R/usr/lib[/$(MACH64)] to LDFLAGS
1 files added
1 files modified
12 ■■■■■ changed files
components/tcl/tcl/Makefile 1 ●●●● patch | view | raw | blame | history
components/tcl/tcl/patches/5.remove-rpath.patch 11 ●●●●● patch | view | raw | blame | history
components/tcl/tcl/Makefile
@@ -27,6 +27,7 @@
COMPONENT_NAME=         tcl
COMPONENT_VERSION=      8.6.7
COMPONENT_REVISION=    1
COMPONENT_MINOR_VERSION= $(shell echo $(COMPONENT_VERSION) | $(GSED) -e 's/\([0-9]\+\)\.\([0-9]\+\)\.[0-9]\+/\1.\2/')
COMPONENT_PROJECT_URL=    http://prdownloads.sourceforge.net/tcl/
COMPONENT_SRC=          $(COMPONENT_NAME)$(COMPONENT_VERSION)
components/tcl/tcl/patches/5.remove-rpath.patch
New file
@@ -0,0 +1,11 @@
--- tcl8.6.7/unix/tcl.m4.1    2018-01-29 16:20:50.229143078 +0000
+++ tcl8.6.7/unix/tcl.m4    2018-01-29 16:22:05.592719535 +0000
@@ -1912,7 +1912,7 @@
         DL_LIBS="-ldl"
         AS_IF([test "$GCC" = yes], [
         SHLIB_LD='${CC} -shared'
-        CC_SEARCH_FLAGS='-Wl,-R,${LIB_RUNTIME_DIR}'
+        CC_SEARCH_FLAGS=''
         LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
         AS_IF([test "$do64bit_ok" = yes], [
             AS_IF([test "$arch" = "sparcv9 sparc"], [