aboutsummaryrefslogtreecommitdiff
path: root/reproduce/software
diff options
context:
space:
mode:
Diffstat (limited to 'reproduce/software')
-rw-r--r--reproduce/software/make/basic.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/reproduce/software/make/basic.mk b/reproduce/software/make/basic.mk
index 19f5500..d1fbc3f 100644
--- a/reproduce/software/make/basic.mk
+++ b/reproduce/software/make/basic.mk
@@ -1330,8 +1330,11 @@ $(ibidir)/gcc: | $(ibidir)/binutils \
if [ x"$$isdynamic" != x ]; then \
cp $$f $$tempname; \
patchelf --set-rpath $(ildir) $$tempname; \
- if [ "$$f" = $(ildir)/libstdc++.so ]; then \
+ echo "$$f: added rpath"; \
+ islibcpp=$$(echo $$f | grep "libstdc++"); \
+ if [ x"$$islibcpp" != x ]; then \
patchelf --add-needed $(ildir)/libiconv.so $$tempname; \
+ echo "$$f: linked with libiconv"; \
fi; \
mv $$tempname $$f; \
fi; \