Ticket #40182: patch-makes-Make.lib.diff

File patch-makes-Make.lib.diff, 2.5 KB (added by ryandesign (Ryan Carsten Schmidt), 11 years ago)
  • makes/Make.lib

    old new  
    242242                LIBINSTdir="$(LIBINSTdir)"
    243243
    244244#  =======================================================================
    245 #  The following commands are to build dynamib libraries on OS X (in BETA)
     245#  The following commands are to build dynamic libraries on OS X (in BETA)
    246246#  =======================================================================
    247247dylib :
    248248        rm -rf $(tmpd) ; mkdir $(tmpd)
     
    250250        cd $(tmpd) ; ar x ../libf77blas.a
    251251        cd $(tmpd) ; ar x ../libcblas.a
    252252        cd $(tmpd) ; ar x ../libatlas.a
    253         cd $(tmpd) ; $(LIBTOOL) -dynamic -o ../libsatlas.dylib \
     253        cd $(tmpd) ; $(LIBTOOL) -dynamiclib -o ../libsatlas.dylib \
    254254        -install_name $(LIBINSTdir)/libsatlas.dylib -current_version $(VER) \
    255255        -compatibility_version $(VER) *.o $(LIBS) $(F77SYSLIB)
    256256        rm -rf $(tmpd)
     
    260260        cd $(tmpd) ; ar x ../libptf77blas.a
    261261        cd $(tmpd) ; ar x ../libptcblas.a
    262262        cd $(tmpd) ; ar x ../libatlas.a
    263         cd $(tmpd) ; $(LIBTOOL) -dynamic -o ../libtatlas.dylib \
     263        cd $(tmpd) ; $(LIBTOOL) -dynamiclib -o ../libtatlas.dylib \
    264264        -install_name $(LIBINSTdir)/libtatlas.dylib -current_version $(VER) \
    265265        -compatibility_version $(VER) *.o $(LIBS) $(F77SYSLIB)
    266266        rm -rf $(tmpd)
     
    269269        cd $(tmpd) ; ar x ../libclapack.a
    270270        cd $(tmpd) ; ar x ../libcblas.a
    271271        cd $(tmpd) ; ar x ../libatlas.a
    272         cd $(tmpd) ; $(LIBTOOL) -dynamic -o ../libsatlas.dylib \
     272        cd $(tmpd) ; $(LIBTOOL) -dynamiclib -o ../libsatlas.dylib \
    273273        -install_name $(LIBINSTdir)/libsatlas.dylib -current_version $(VER) \
    274274        -compatibility_version $(VER) *.o $(LIBS)
    275275        rm -rf $(tmpd)
     
    278278        cd $(tmpd) ; ar x ../libptclapack.a
    279279        cd $(tmpd) ; ar x ../libptcblas.a
    280280        cd $(tmpd) ; ar x ../libatlas.a
    281         cd $(tmpd) ; $(LIBTOOL) -dynamic -o ../libtatlas.dylib \
     281        cd $(tmpd) ; $(LIBTOOL) -dynamiclib -o ../libtatlas.dylib \
    282282        -install_name $(LIBINSTdir)/libtatlas.dylib -current_version $(VER) \
    283283        -compatibility_version $(VER) *.o $(LIBS)
    284284        rm -rf $(tmpd)
     
    287287        rm -rf $(tmpd) ; mkdir $(tmpd)
    288288        cd $(tmpd) ; ar x ../liblapack.a
    289289        rm -f $(tmpd)/*C2F $(tmpd)/*f77wrap*
    290         cd $(tmpd) ; libtool -dynamic -o ../libclapack.dylib \
     290        cd $(tmpd) ; libtool -dynamiclib -o ../libclapack.dylib \
    291291           -install_name $(LIBINSTdir)/libclapack.dylib \
    292292           -compatibility_version $(VER) -current_version $(VER) \
    293293           *.o ../libcblas.dylib ../libatlas.dylib $(LIBS)