Fork me on GitHub

Changeset 742 in svn


Ignore:
Timestamp:
Nov 5, 2012, 4:05:39 PM (12 years ago)
Author:
Pavel Demin
Message:

fix build rules for 64-bit MacOSX

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/genMakefile.tcl

    r581 r742  
    269269        @mkdir -p $(@D)
    270270        @echo ">> Building $@"
    271 ifeq ($(ARCH),aix)
    272         @/usr/ibmcxx/bin/makeC++SharedLib $(OutPutOpt) $@ $(LIBS) -p 0 $^
    273 else
    274271ifeq ($(ARCH),aix5)
    275         @/usr/vacpp/bin/makeC++SharedLib $(OutPutOpt) $@ $(LIBS) -p 0 $^
     272        @$(MAKESHARED) $(OutPutOpt) $@ $(LIBS) -p 0 $^
    276273else
    277274ifeq ($(PLATFORM),macosx)
    278275# We need to make both the .dylib and the .so
    279         @$(LD) $(SOFLAGS) $^ $(OutPutOpt) $@
    280         @$(LD) -bundle -undefined $(UNDEFOPT) $(LDFLAGS) $^ $(LIBS) $(OutPutOpt) $(subst .$(DllSuf),.so,$@)
     276        @$(LD) $(SOFLAGS)$@ $(LDFLAGS) $^ $(OutPutOpt) $@ $(EXPLLINKLIBS)
     277ifneq ($(subst $(MACOSX_MINOR),,1234),1234)
     278ifeq ($(MACOSX_MINOR),4)
     279        @ln -sf $@ $(subst .$(DllSuf),.so,$@)
     280endif
     281endif
    281282else
    282283ifeq ($(PLATFORM),win32)
     
    288289        @$(LD) $(SOFLAGS) $(LDFLAGS) $^ $(OutPutOpt) $@ $(EXPLLINKLIBS)
    289290        @$(MT_DLL)
    290 endif
    291291endif
    292292endif
Note: See TracChangeset for help on using the changeset viewer.