Ticket #49459: patch-src_Makefile_dylib_extension.diff

File patch-src_Makefile_dylib_extension.diff, 1.2 KB (added by ramundsen85, 9 years ago)

change library extension from so to dylib

  • src/Makefile

    old new  
    3535    filedumperx$(.EXE) filedumper$(.EXE) filedumper-slim$(.EXE) \
    3636    router+lib$(.EXE) router+lib-slim$(.EXE)
    3737
    38 LIB=libroutino.so libroutino-slim.so
     38LIB=libroutino.dylib libroutino-slim.dylib
    3939
    4040ifeq ($(HOST),MINGW)
    4141LIB+=routino.dll routino-slim.dll
     
    172172
    173173ROUTER_LIB_OBJ=router+lib.o
    174174
    175 router+lib$(.EXE) : $(ROUTER_LIB_OBJ) libroutino.so
     175router+lib$(.EXE) : $(ROUTER_LIB_OBJ) libroutino.dylib
    176176        $(LD) $^ -o $@ $(LDFLAGS) $(LDFLAGS_LDSO)
    177177
    178 router+lib-slim$(.EXE) : $(ROUTER_LIB_OBJ) libroutino-slim.so
     178router+lib-slim$(.EXE) : $(ROUTER_LIB_OBJ) libroutino-slim.dylib
    179179        $(LD) $^ -o $@ $(LDFLAGS) $(LDFLAGS_LDSO)
    180180
    181181########
     
    190190LIBROUTINO_OBJ+=mman-win32.o
    191191endif
    192192
    193 libroutino.so : $(LIBROUTINO_OBJ)
     193libroutino.dylib : $(LIBROUTINO_OBJ)
    194194        $(LD) $^ -o $@ $(LDFLAGS) $(LDFLAGS_LIB)
    195195
    196196routino.dll : libroutino.so
     
    214214LIBROUTINO_SLIM_OBJ+=mman-win32.o
    215215endif
    216216
    217 libroutino-slim.so : $(LIBROUTINO_SLIM_OBJ)
     217libroutino-slim.dylib : $(LIBROUTINO_SLIM_OBJ)
    218218        $(LD) $^ -o $@ $(LDFLAGS) $(LDFLAGS_LIB)
    219219
    220220routino-slim.dll : libroutino-slim.so