Ticket #49459: patch-Makefile_conf.diff

File patch-Makefile_conf.diff, 689 bytes (added by ramundsen85, 9 years ago)

patch to build dynamic libraries with dylib extension

  • Makefile.conf

    old new  
    8989
    9090# Extra flags for compiling libroutino shared library (visibility of symbols, shared)
    9191CFLAGS_LIB=-fvisibility=hidden
    92 LDFLAGS_LIB=-shared
     92LDFLAGS_LIB=-dynamiclib -install_name /opt/local/lib/$@
    9393
    9494ifeq ($(HOST),UNIX)
    9595# Extra flags for compiling libroutino shared library (position independent code)
     
    9898endif
    9999
    100100# Put the current directory in the shared library path for the router using libroutino
    101 LDFLAGS_LDSO=-Wl,-R.
     101LDFLAGS_LDSO=-Wl,-rpath,.
    102102
    103103
    104104# Required for multi-threaded support (comment these two lines out if not required)