summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid King <amigadave@amigadave.com>2015-02-15 14:40:20 +0000
committerDavid King <amigadave@amigadave.com>2015-06-22 13:32:35 +0100
commiteba92d9bd13b81e7008ca3a7f8b9a79a2e9f60d9 (patch)
tree73bed8afc3a0d4705324d149d636d008478ce6c8
parent97a8968c4c37ec3da7605e39a9d4a1157be6281d (diff)
downloadyelp-eba92d9bd13b81e7008ca3a7f8b9a79a2e9f60d9.tar.gz
Install libyelpcommon to pkglibdir
It is a private implementation detail of libyelp and the extension, so it should not be installed into libdir.
-rw-r--r--libyelp/Makefile.am7
1 files changed, 5 insertions, 2 deletions
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 \