From a6ca873a368df7982a9821c15fb0182efab1a2f5 Mon Sep 17 00:00:00 2001 From: Uwe Kleine-König Date: Tue, 12 Mar 2019 11:42:37 +0100 Subject: Don't install a pkg-config file for libdt libdt isn't supposed to be installed as a system library as nobody wants to care about things like a stable API. Also the generated .pc file is completely bogus as it adds "-labc" to the linker instead of -ldt-utils. So just drop generating and installing the pkg-config file. --- Makefile.am | 17 ----------------- src/libdt-utils.pc.in | 11 ----------- 2 files changed, 28 deletions(-) delete mode 100644 src/libdt-utils.pc.in diff --git a/Makefile.am b/Makefile.am index 64741fc..a2f8545 100644 --- a/Makefile.am +++ b/Makefile.am @@ -19,18 +19,6 @@ AM_LDFLAGS = \ -Wl,--gc-sections \ -Wl,--as-needed -SED_PROCESS = \ - $(AM_V_GEN)$(MKDIR_P) $(dir $@) && $(SED) \ - -e 's,@VERSION\@,$(VERSION),g' \ - -e 's,@prefix\@,$(prefix),g' \ - -e 's,@exec_prefix\@,$(exec_prefix),g' \ - -e 's,@libdir\@,$(libdir),g' \ - -e 's,@includedir\@,$(includedir),g' \ - < $< > $@ || rm $@ - -%.pc: %.pc.in Makefile - $(SED_PROCESS) - # If the library source code has changed at all since the last release, # then increment revision (‘c:r:a’ becomes ‘c:r+1:a’). # If any interfaces have been added/removed/changed since the last release, @@ -118,9 +106,4 @@ src_libdt_utils_la_LDFLAGS = $(AM_LDFLAGS) \ -Wl,--version-script=$(top_srcdir)/src/libdt-utils.sym src_libdt_utils_la_DEPENDENCIES = ${top_srcdir}/src/libdt-utils.sym -pkgconfigdir = $(libdir)/pkgconfig -pkgconfig_DATA = src/libdt-utils.pc -EXTRA_DIST += src/libdt-utils.pc.in -CLEANFILES += src/libdt-utils.pc - EXTRA_DIST += scripts/barebox-mark-successful-boot.sh diff --git a/src/libdt-utils.pc.in b/src/libdt-utils.pc.in deleted file mode 100644 index 2fc7b76..0000000 --- a/src/libdt-utils.pc.in +++ /dev/null @@ -1,11 +0,0 @@ -prefix=@prefix@ -exec_prefix=@exec_prefix@ -libdir=@libdir@ -includedir=@includedir@ - -Name: libabc -Description: Library for something with abc -Version: @VERSION@ -Libs: -L${libdir} -labc -Libs.private: -Cflags: -I${includedir} -- cgit v1.2.3