Changeset 9252

Show
Ignore:
Timestamp:
03/14/12 15:03:58 (15 months ago)
Author:
k
Message:

Makefile.in: Rather than rely on KERNAPPSTHR to determine whether to install LIBRARIES_THREADED_STATIC, use LIBRARIES_THREADED_STATIC itself. On Darwin only run ranlib on static libraries.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/stable/Makefile.in

    r9234 r9252  
    12161216            install -m 755 lib/$$i $(libdir) ;\ 
    12171217        done 
    1218 ifneq (,$(KERNAPPSTHR)) 
     1218ifdef TARGET_OS_DARWIN 
     1219#       TOC needs to be regenerated in libs after they get moved 
     1220        ranlib $(patsubst %,$(prefix)/%,$(LIBRARIES_STATIC)) 
     1221endif 
     1222endif 
     1223ifneq (,$(LIBRARIES_THREADED_STATIC)) 
    12191224        for i in $(notdir $(LIBRARIES_THREADED_STATIC)) ; do \ 
    12201225            install -m 755 lib/$$i $(libdir) ;\ 
    12211226        done 
     1227ifdef TARGET_OS_DARWIN 
     1228#       TOC needs to be regenerated in libs after they get moved 
     1229        ranlib $(patsubst %,$(prefix)/%,$(LIBRARIES_THREADED_STATIC)) 
    12221230endif 
    12231231endif 
     
    12281236            $(LN_S) $$i.$(SO_VER) $(libdir)/$$i ;\ 
    12291237        done 
    1230 ifneq (,$(KERNAPPSTHR)) 
     1238endif 
     1239ifneq (,$(LIBRARIES_THREADED_SHARED)) 
    12311240        for i in $(notdir $(LIBRARIES_THREADED_SHARED)) ; do \ 
    12321241            install -m 755 lib/$$i $(libdir)/$$i.$(SO_FULLVER) ;\ 
     
    12341243           $(LN_S) $$i.$(SO_VER) $(libdir)/$$i ;\ 
    12351244        done 
    1236 endif 
    1237 endif 
    1238  
    1239 ifdef TARGET_OS_DARWIN 
    1240 #       TOC needs to be regenerated in libs after they get moved 
    1241         ranlib $(patsubst %,$(prefix)/%,$(LIBRARIES)) 
    12421245endif 
    12431246