svn commit: trunk/uClibc
vapier at uclibc.org
vapier at uclibc.org
Thu Sep 22 03:04:20 UTC 2005
Author: vapier
Date: 2005-09-21 20:04:19 -0700 (Wed, 21 Sep 2005)
New Revision: 11558
Log:
dont screw around with lib/ if it doesnt exist
Modified:
trunk/uClibc/Makefile
Changeset:
Modified: trunk/uClibc/Makefile
===================================================================
--- trunk/uClibc/Makefile 2005-09-22 02:39:35 UTC (rev 11557)
+++ trunk/uClibc/Makefile 2005-09-22 03:04:19 UTC (rev 11558)
@@ -249,10 +249,12 @@
endif
# # If we build shared libraries then the static libs are PIC...
# # Make _pic.a symlinks to make mklibs.py and similar tools happy.
+ if [ -d lib ] ; then \
for i in `find lib/ -type f -name '*.a' | sed -e 's/lib\///'` ; do \
$(LN) -sf $$i $(PREFIX)$(DEVEL_PREFIX)lib/`echo $$i \
| sed -e 's/\.a$$/_pic.a/'`; \
- done;
+ done ; \
+ fi
# Ugh!!! Remember that libdl.a and libdl_pic.a are different. Since
# libdl is pretty small, and not likely to benefit from mklibs.py and
# similar, lets just remove libdl_pic.a and avoid the issue
More information about the uClibc-cvs
mailing list