From d377ee6b740373895cb67cdc14a98c0d71650e05 Mon Sep 17 00:00:00 2001 Message-Id: From: Dan Nicholson Date: Sat, 13 Jun 2015 09:50:14 -0700 Subject: [PATCH] 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 --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index f64e2cd..6dc5b39 100644 --- a/Makefile.am +++ b/Makefile.am @@ -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 -- 1.9.3