mirror of
https://gitlab.freedesktop.org/pkg-config/pkg-config.git
synced 2026-05-08 08:58:06 +02:00
Remove $host-pkg-config when uninstalling
Fixes an error from distcheck about files left in the destdir after uninstalling.
This commit is contained in:
parent
1694230365
commit
8b7489a36f
1 changed files with 2 additions and 0 deletions
|
|
@ -40,6 +40,8 @@ if HOST_TOOL
|
|||
host_tool = $(host)-pkg-config$(EXEEXT)
|
||||
install-exec-hook:
|
||||
cd $(DESTDIR)$(bindir) && $(LN) pkg-config$(EXEEXT) $(host_tool)
|
||||
uninstall-hook:
|
||||
cd $(DESTDIR)$(bindir) && rm -f $(host_tool)
|
||||
endif
|
||||
|
||||
# Various data files
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue