aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/m4
diff options
context:
space:
mode:
Diffstat (limited to 'xorg-server/m4')
-rw-r--r--xorg-server/m4/dolt.m43
1 files changed, 3 insertions, 0 deletions
diff --git a/xorg-server/m4/dolt.m4 b/xorg-server/m4/dolt.m4
index 1109bdb0c..7c62b6c46 100644
--- a/xorg-server/m4/dolt.m4
+++ b/xorg-server/m4/dolt.m4
@@ -26,6 +26,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'
;;