diff options
author | luka <luka@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2013-11-20 22:09:11 +0000 |
---|---|---|
committer | luka <luka@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2013-11-20 22:09:11 +0000 |
commit | b0b09dfc83f4bb76bd14d0770495c4fd9cacc92d (patch) | |
tree | 46b0f862eb203e11931ac840823f21100842aa12 /tools/pkg-config/patches | |
parent | 248b8ed0171776fa0c78d93af559cdb72887a769 (diff) |
[tools] pkg-config: fix occasional install problem
Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38886 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'tools/pkg-config/patches')
-rw-r--r-- | tools/pkg-config/patches/001-fix-package-rebuild.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/tools/pkg-config/patches/001-fix-package-rebuild.patch b/tools/pkg-config/patches/001-fix-package-rebuild.patch new file mode 100644 index 0000000000..54f549c076 --- /dev/null +++ b/tools/pkg-config/patches/001-fix-package-rebuild.patch @@ -0,0 +1,22 @@ +--- a/Makefile.am ++++ b/Makefile.am +@@ -39,7 +39,7 @@ + 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 +--- a/Makefile.in ++++ b/Makefile.in +@@ -1093,7 +1093,7 @@ + uninstall-man1 + + @HOST_TOOL_TRUE@install-exec-hook: +-@HOST_TOOL_TRUE@ cd $(DESTDIR)$(bindir) && $(LN) pkg-config$(EXEEXT) $(host_tool) ++@HOST_TOOL_TRUE@ cd $(DESTDIR)$(bindir) && $(LN) -f pkg-config$(EXEEXT) $(host_tool) + @HOST_TOOL_TRUE@uninstall-hook: + @HOST_TOOL_TRUE@ cd $(DESTDIR)$(bindir) && rm -f $(host_tool) + |