From a8afc0fd4ceb3bcb485cd44e82aa2b12bb02e30b Mon Sep 17 00:00:00 2001 From: Manuel Novoa III Date: Wed, 16 Feb 2005 06:38:13 +0000 Subject: Unlike the other static libs, libdl.a and libdl_pic.a are different. So we need to copy the actual libdl_pic.a or bad things happen when optimizing libdl.so with mklibs.py. --- Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Makefile') 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 -- cgit v1.2.3