[json-glib] build: Drop unnecessary linker flags



commit 287628bc003ae3d3e1893898c5e1a8959f895f52
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Mon Dec 2 10:41:37 2013 +0000

    build: Drop unnecessary linker flags
    
    The -no-undefined linker flag is needed only when compiling for Windows,
    and it's added conditionally. Except that we also add it unconditionally
    in the LDFLAGS used for the libjson-glib-1.0 shared object. Whoopsie.
    
    We should also drop the unneeded -rpath: distributions will go out of
    their way to patch it out in any case.

 json-glib/Makefile.am |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/json-glib/Makefile.am b/json-glib/Makefile.am
index 38ad56e..700310f 100644
--- a/json-glib/Makefile.am
+++ b/json-glib/Makefile.am
@@ -84,7 +84,7 @@ lib_LTLIBRARIES += libjson-glib-1.0.la
 
 libjson_glib_1_0_la_LIBADD = $(JSON_LIBS)
 libjson_glib_1_0_la_SOURCES = $(source_c) $(source_h) $(source_h_private) $(BUILT_SOURCES)
-libjson_glib_1_0_la_LDFLAGS = $(JSON_LT_LDFLAGS) $(JSON_GCOV_LDADD) -no-undefined -export-symbols 
$(top_srcdir)/json-glib/json-glib.symbols -rpath $(libdir)
+libjson_glib_1_0_la_LDFLAGS = $(JSON_LT_LDFLAGS) $(JSON_GCOV_LDADD) -export-symbols 
$(top_srcdir)/json-glib/json-glib.symbols
 
 EXTRA_DIST += json-glib.symbols
 


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