Ticket #970: fix_makefile_solaris.patch

File fix_makefile_solaris.patch, 785 bytes (added by mikele, 11 years ago)
  • Makefile.solaris

    From 04b094130d835da45d2c011cabb05184110f4aa5 Mon Sep 17 00:00:00 2001
    From: mikele <mikele.chicken@lamonaca.net>
    Date: Mon, 21 Jan 2013 21:04:44 +0100
    Subject: [PATCH] added missing library (-lrt) for nanosleep calls
    
    ---
     Makefile.solaris |    2 +-
     1 files changed, 1 insertions(+), 1 deletions(-)
    
    diff --git a/Makefile.solaris b/Makefile.solaris
    index 8228a68..99f9826 100644
    a b LINKER_LINK_SHARED_LIBRARY_OPTIONS = -shared 
    8282LINKER_LINK_SHARED_DLOADABLE_OPTIONS = -shared -Wl,-R"$(RUNTIME_LINKER_PATH)" -Wl,-L.
    8383LINKER_LINK_SHARED_PROGRAM_OPTIONS = -Wl,-R"$(RUNTIME_LINKER_PATH)"
    8484endif
    85 LIBRARIES = -lsocket -lnsl -lm -ldl
     85LIBRARIES = -lsocket -lnsl -lm -ldl -lrt
    8686NEEDS_RELINKING = yes
    8787
    8888# special files