aboutsummaryrefslogtreecommitdiff
path: root/libX11/acinclude.m4
diff options
context:
space:
mode:
Diffstat (limited to 'libX11/acinclude.m4')
-rw-r--r--libX11/acinclude.m43
1 files changed, 3 insertions, 0 deletions
diff --git a/libX11/acinclude.m4 b/libX11/acinclude.m4
index 1485a8cf6..922145fdc 100644
--- a/libX11/acinclude.m4
+++ b/libX11/acinclude.m4
@@ -76,6 +76,9 @@ i?86-*-linux*|x86_64-*-linux*|powerpc-*-linux* \
|amd64-*-freebsd*|i?86-*-freebsd*|ia64-*-freebsd*)
pic_options='-fPIC'
;;
+i?86-pc-cygwin*)
+ pic_options='-DDLL_EXPORT'
+ ;;
i?86-apple-darwin*)
pic_options='-fno-common'
;;