summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-11-01 22:19:29 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-11-01 22:19:29 +0000
commit26cb4c6fe25af10b410310aa8e4d70a0028cf704 (patch)
treeab2a403b8c788961ac1229fd35a9c37c6040fe7d
parente077860853db46c4813969257c1a9e3025f0974f (diff)
Create the lib*_pic.a links only if DOPIC is enabled
-rw-r--r--Makefile.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in
index d03533b5d..cc4feab01 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -243,6 +243,7 @@ ifeq ($(PTHREADS_DEBUG_SUPPORT),y)
$(LN) -sf $(RUNTIME_PREFIX_LIB_FROM_DEVEL_PREFIX_LIB)libthread_db.so.1 \
$(PREFIX)$(DEVEL_PREFIX)lib/libthread_db.so
endif
+ifeq ($(DOPIC),y)
# # 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 \
@@ -252,6 +253,7 @@ endif
done ; \
fi
endif
+endif
# Installs run-time libraries
install_runtime: