From eba92d9bd13b81e7008ca3a7f8b9a79a2e9f60d9 Mon Sep 17 00:00:00 2001 From: David King Date: Sun, 15 Feb 2015 14:40:20 +0000 Subject: Install libyelpcommon to pkglibdir It is a private implementation detail of libyelp and the extension, so it should not be installed into libdir. --- libyelp/Makefile.am | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'libyelp') diff --git a/libyelp/Makefile.am b/libyelp/Makefile.am index 0f7d3a32..ec37d29e 100644 --- a/libyelp/Makefile.am +++ b/libyelp/Makefile.am @@ -1,4 +1,4 @@ -lib_LTLIBRARIES = libyelpcommon.la +pkglib_LTLIBRARIES = libyelpcommon.la libyelpcommon_la_SOURCES = \ yelp-uri.c \ @@ -14,6 +14,9 @@ libyelpcommon_la_CFLAGS = \ libyelpcommon_la_LIBADD = $(YELP_LIBS) +libyelpcommon_la_LDFLAGS = \ + -avoid-version \ + -no-undefined libyelpcommon_headers = \ yelp-uri.h \ @@ -56,7 +59,7 @@ yelp-common-types.c: $(libyelpcommon_headers) --vtail " return type;\n}\n\n" \ $(libyelpcommon_headers)) > $@ -lib_LTLIBRARIES += libyelp.la +lib_LTLIBRARIES = libyelp.la libyelp_la_SOURCES = \ yelp-bookmarks.c \ -- cgit v1.2.1