pkgconfig: set libdir= to $LIBPATH (for multi-arch)

This commit is contained in:
Michael Stapelberg 2014-01-02 07:09:24 +01:00 committed by Steffen Jaeckel
parent 30022b114c
commit 90928d6dfd
2 changed files with 2 additions and 1 deletions

View File

@ -1,6 +1,6 @@
prefix=/usr
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
libdir=@LIBDIR@
includedir=${prefix}/include
Name: LibTomCrypt

View File

@ -271,6 +271,7 @@ install: $(LIBNAME)
install -d -g $(GROUP) -o $(USER) $(DESTDIR)$(INCPATH)
install -g $(GROUP) -o $(USER) $(HEADERS) $(DESTDIR)$(INCPATH)
install -d $(DESTDIR)$(LIBPATH)/pkgconfig
sed 's,@LIBDIR@,$(LIBPATH),g' libtomcrypt.pc.in > libtomcrypt.pc
install -m 0644 -g $(GROUP) -o $(USER) libtomcrypt.pc $(DESTDIR)$(LIBPATH)/pkgconfig/libtomcrypt.pc
#This rule makes the hash program included with libtomcrypt