diff options
author | Christian Cornelssen <ccorn@1tein.de> | 2018-05-21 09:08:19 +0200 |
---|---|---|
committer | tgingold <tgingold@users.noreply.github.com> | 2018-05-21 18:55:18 +0200 |
commit | 7b24c5363ec400bc9e59b79f4b2d8b07a0208c18 (patch) | |
tree | a91fdb8ae455d564df9a49f129b285c2cf7e7052 | |
parent | 66bb0718a3b8659f7c7362fcc1061140f0416344 (diff) | |
download | ghdl-7b24c5363ec400bc9e59b79f4b2d8b07a0208c18.tar.gz ghdl-7b24c5363ec400bc9e59b79f4b2d8b07a0208c18.tar.bz2 ghdl-7b24c5363ec400bc9e59b79f4b2d8b07a0208c18.zip |
configure: Select correct SOEXT, EXEEXT, PIC_FLAGS for Cygwin
-rwxr-xr-x | configure | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -250,7 +250,8 @@ fi # Define default file extensions for Windows or Linux-like systems and # use -fPIC or not. case "$build" in - *mingw*) SOEXT=".dll"; EXEEXT=".exe"; PIC_FLAGS="";; + *mingw* | *cygwin*) + SOEXT=".dll"; EXEEXT=".exe"; PIC_FLAGS="";; *darwin*) SOEXT=".dylib"; EXEEXT=""; PIC_FLAGS="";; *) SOEXT=".so"; EXEEXT=""; PIC_FLAGS="-fPIC";; esac |