diff options
author | Manuel Novoa III <mjn3@codepoet.org> | 2005-02-16 06:38:13 +0000 |
---|---|---|
committer | Manuel Novoa III <mjn3@codepoet.org> | 2005-02-16 06:38:13 +0000 |
commit | a8afc0fd4ceb3bcb485cd44e82aa2b12bb02e30b (patch) | |
tree | 843414633f8a77a9bccc1e8d22516b66e037d923 | |
parent | b979ec6f20cc773b153f9e4aaadc5257fd0e6f5c (diff) |
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.
-rw-r--r-- | Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 |