aboutsummaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2006-04-10 02:01:20 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2006-04-10 02:01:20 +0000
commit9eb6e0a0502393b21cc3d27b7a5c3091348f7979 (patch)
tree0d71b44bc2deae6344a135f372516f3354b66381 /packages
parenteed4a6531ccc55f720a8564d2d2ba5113ae9f81f (diff)
added test for dll before copying so things build without the gripd hack
svn path=/trunk/; revision=4861
Diffstat (limited to 'packages')
-rwxr-xr-xpackages/win32_inno/Makefile5
1 files changed, 4 insertions, 1 deletions
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