summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index b2c173fd5..1390a33a1 100644
--- a/Makefile
+++ b/Makefile
@@ -229,6 +229,9 @@ endif
$(LN) -sf $$i $(PREFIX)$(DEVEL_PREFIX)lib/`echo $$i \
| sed -e 's/\.a$$/_pic.a/'`; \
done;
+ # Ugh!!! Remember that libdl.a and libdl_pic.a are different!
+ rm -f $(PREFIX)$(DEVEL_PREFIX)lib/libdl_pic.a
+ cp -f ldso/libdl/libdl_pic.a $(PREFIX)$(DEVEL_PREFIX)lib/libdl_pic.a
endif