aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorChristian Cornelssen <ccorn@1tein.de>2018-05-21 09:08:19 +0200
committertgingold <tgingold@users.noreply.github.com>2018-05-21 18:55:18 +0200
commit7b24c5363ec400bc9e59b79f4b2d8b07a0208c18 (patch)
treea91fdb8ae455d564df9a49f129b285c2cf7e7052 /configure
parent66bb0718a3b8659f7c7362fcc1061140f0416344 (diff)
downloadghdl-7b24c5363ec400bc9e59b79f4b2d8b07a0208c18.tar.gz
ghdl-7b24c5363ec400bc9e59b79f4b2d8b07a0208c18.tar.bz2
ghdl-7b24c5363ec400bc9e59b79f4b2d8b07a0208c18.zip
configure: Select correct SOEXT, EXEEXT, PIC_FLAGS for Cygwin
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure b/configure
index 9b4891c4e..14df9f842 100755
--- a/configure
+++ b/configure
@@ -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