[hotssh] libgssh: Use better linker flags



commit a8bcf5aa46cb5c52ba9615becfd5f4d1b1504501
Author: Colin Walters <walters verbum org>
Date:   Thu Oct 10 19:28:02 2013 -0400

    libgssh: Use better linker flags
    
    These are all best practice.

 Makefile-libgssh.am |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/Makefile-libgssh.am b/Makefile-libgssh.am
index 158e3dc..36eb7af 100644
--- a/Makefile-libgssh.am
+++ b/Makefile-libgssh.am
@@ -12,6 +12,7 @@ libgssh_la_SOURCES = $(gssh_headers) \
        $(NULL)
 
 libgssh_la_CFLAGS = $(AM_CFLAGS) $(BUILDDEP_LIBGSSH_CFLAGS) -I$(srcdir)/libgsystem -I$(srcdir)/libgssh
+libgssh_la_LDFLAGS = -avoid-version -Bsymbolic-functions -export-symbols-regexp '^gssh_' -no-undefined 
-export-dynamic
 libgssh_la_LIBADD = $(BUILDDEP_LIBGSSH_LIBS) libgsystem.la
 
 gssh-enum-types.h: $(libgssh_headers) libgssh/gssh-enum-types.h.template


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]