From 9eb6e0a0502393b21cc3d27b7a5c3091348f7979 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Mon, 10 Apr 2006 02:01:20 +0000 Subject: added test for dll before copying so things build without the gripd hack svn path=/trunk/; revision=4861 --- packages/win32_inno/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'packages/win32_inno/Makefile') diff --git a/packages/win32_inno/Makefile b/packages/win32_inno/Makefile index 204ea471..fbaf2435 100755 --- a/packages/win32_inno/Makefile +++ b/packages/win32_inno/Makefile @@ -97,7 +97,10 @@ lib_install: install -p $(bin_src)/tclpip84.dll $(dlldir)/tclpip84.dll install -p $(bin_src)/tk84.dll $(dlldir)/tk84.dll # this is a quick hack, since the gripd.dll still looks for pthreadVC.dll - install -p $(DESTDIR)$(prefix)/gripd/pthreadVC.dll $(dlldir)/pthreadVC.dll + (test -e $(DESTDIR)$(prefix)/gripd/pthreadVC.dll && \ + install -p $(DESTDIR)$(prefix)/gripd/pthreadVC.dll $(dlldir)/pthreadVC.dll) || \ + test -e $(SYSTEMROOT)/system32/pthreadVC.dll || \ + install -p $(SYSTEMROOT)/pthreadVC.dll $(dlldir)/pthreadVC.dll # these go into the Pd package's lib dir install -d $(libdir)/tcl8.4 cp -r /usr/local/lib/tcl8.4/* $(libdir)/tcl8.4 -- cgit v1.2.1