[epiphany] Install libephymain.so



commit 32e99b716f15f26be7c0f77642a04d8691727ee2
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Sun Aug 7 16:05:50 2016 -0500

    Install libephymain.so
    
    Instead of static linking it into both the epiphany and
    epiphany-search-provider binaries, install it as a private shared
    library. This cuts our installed size from 6.6 MB to 4.0 MB (before
    debuginfo is stripped) total. In particular, the epiphany and
    epiphany-search-provider binaries are now 0.1 MB apiece, from 2.8 MB
    apiece. The installed library takes 2.8 MB.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=720248

 src/Makefile.am |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/Makefile.am b/src/Makefile.am
index 408343d..a85dcf9 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -3,7 +3,7 @@ SUBDIRS = bookmarks
 AM_CFLAGS = $(CODE_COVERAGE_CFLAGS) $(WARN_CFLAGS)
 AM_LDFLAGS = $(CODE_COVERAGE_LDFLAGS) $(WARN_LDFLAGS)
 
-noinst_LTLIBRARIES = libephymain.la
+pkglib_LTLIBRARIES = libephymain.la
 
 bin_PROGRAMS = epiphany
 
@@ -94,7 +94,7 @@ libephymain_la_CFLAGS = \
        $(AM_CFLAGS)
 
 libephymain_la_LDFLAGS = \
-       $(AM_LDFLAGS)
+       $(AM_LDFLAGS) -avoid-version -no-undefined
 
 libephymain_la_LIBADD = \
        $(top_builddir)/src/bookmarks/libephybookmarks.la       \


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