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.
This commit is contained in:
parent
5b58e1fc72
commit
a6ca873a36
2 changed files with 0 additions and 28 deletions
17
Makefile.am
17
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
|
||||
|
|
|
@ -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}
|
Loading…
Add table
Reference in a new issue