build: Force linking of host tool

In case a reinstall is being performed, ensure than an existing host
tool is overwritten.

https://bugs.freedesktop.org/show_bug.cgi?id=90437
This commit is contained in:
Dan Nicholson 2015-06-13 09:50:14 -07:00
parent 40342dd0ea
commit d377ee6b74

View file

@ -41,7 +41,7 @@ pkg_config_SOURCES= \
if HOST_TOOL
host_tool = $(host)-pkg-config$(EXEEXT)
install-exec-hook:
cd $(DESTDIR)$(bindir) && $(LN) pkg-config$(EXEEXT) $(host_tool)
cd $(DESTDIR)$(bindir) && $(LN) -f pkg-config$(EXEEXT) $(host_tool)
uninstall-hook:
cd $(DESTDIR)$(bindir) && rm -f $(host_tool)
endif