Install a .pc file so that pkg-config works
This commit is contained in:
2
Makefile
2
Makefile
@@ -35,3 +35,5 @@ install:
|
||||
install -d $(DESTDIR)$(LIBDIR)
|
||||
install libtermkey.so $(DESTDIR)$(LIBDIR)/$(SONAME)
|
||||
ln -sf $(SONAME) $(DESTDIR)$(LIBDIR)/libtermkey.so
|
||||
install -d $(DESTDIR)$(LIBDIR)/pkgconfig
|
||||
sed "s,@PREFIX@,$(PREFIX)," <termkey.pc.in >$(DESTDIR)$(LIBDIR)/pkgconfig/termkey.pc
|
||||
|
||||
Reference in New Issue
Block a user