Browse Source

* Ported more CYGWIN fixes

svn: 2597
Bryan Drewery 20 năm trước cách đây
mục cha
commit
f241b0be88
1 tập tin đã thay đổi với 8 bổ sung2 xóa
  1. 8 2
      build

+ 8 - 2
build

@@ -109,7 +109,7 @@ case `uname` in
   OpenBSD) os=OpenBSD;;
   NetBSD) os=NetBSD;;
   SunOS) os=Solaris;;
-  CYGWIN*) os=Cygwin;;
+  CYGWIN*) os=Cygwin; extras="/bin/cygwin1.dll";;
 esac
 
 if test -z $os
@@ -212,7 +212,13 @@ elif ! [ $scp = "0" ]; then
   #This MALLOC business is to not Abort 'tar' due to some bug it has.
   tmp=${MALLOC_CHECK_}
   unset MALLOC_CHECK_
-  tar -c${zip}f ${builddate}-$os-$ver${d}.tar.${ext} wraith.$os-$ver${d} ChangeLog-${builddate}.gz
+  cp ${extras} .
+  for file in $extras
+  do
+    extras_local="${extras_local} `basename $file`"
+  done
+
+  tar -c${zip}f ${builddate}-$os-$ver${d}.tar.${ext} wraith.$os-$ver${d} ChangeLog-${builddate}.gz ${extras_local}
   chmod 0644 ${builddate}-$os-$ver${d}.tar.${ext}
   if test -n "$tmp"; then
     declare -x MALLOC_CHECK_=$tmp