Browse Source

Create the lib*_pic.a links only if DOPIC is enabled

Peter S. Mazinger 19 years ago
parent
commit
26cb4c6fe2
1 changed files with 2 additions and 0 deletions
  1. 2 0
      Makefile.in

+ 2 - 0
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: