mirror of
https://github.com/profanity-im/profanity.git
synced 2024-12-04 14:46:46 -05:00
Fixed Cygwin install for 32/64bit changes
This commit is contained in:
parent
61f47cf91d
commit
0a1e8d9c1e
@ -36,7 +36,12 @@ cygwin_prepare()
|
||||
chmod +x apt-cyg
|
||||
mv apt-cyg /usr/local/bin/
|
||||
|
||||
apt-cyg install make gcc automake autoconf pkg-config openssl-devel libexpat-devel zlib-devel libncurses-devel libncursesw-devel libglib2.0-devel libcurl-devel libidn-devel libssh2-devel libkrb5-devel openldap-devel
|
||||
if [ -n "$CYG_MIRROR" ]; then
|
||||
apt-cyg -m $CYG_MIRROR install make automake autoconf pkg-config openssl-devel libexpat-devel zlib-devel libncursesw-devel libglib2.0-devel libcurl-devel libidn-devel libssh2-devel libkrb5-devel openldap-devel
|
||||
else
|
||||
apt-cyg install make automake autoconf pkg-config openssl-devel libexpat-devel zlib-devel libncursesw-devel libglib2.0-devel libcurl-devel libidn-devel libssh2-devel libkrb5-devel openldap-devel
|
||||
fi
|
||||
|
||||
ln -s /usr/bin/gcc-3.exe /usr/bin/gcc.exe
|
||||
|
||||
export LIBRARY_PATH=/usr/local/lib/
|
||||
@ -109,6 +114,13 @@ cleanup()
|
||||
echo
|
||||
}
|
||||
|
||||
while getopts m: opt
|
||||
do
|
||||
case "$opt" in
|
||||
m) CYG_MIRROR=$OPTARG;;
|
||||
esac
|
||||
done
|
||||
|
||||
OS=`uname -s`
|
||||
DIST=unknown
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user