summaryrefslogtreecommitdiff
path: root/packages/webkit/webkit-gtk/acinclude.m4
diff options
context:
space:
mode:
Diffstat (limited to 'packages/webkit/webkit-gtk/acinclude.m4')
-rw-r--r--packages/webkit/webkit-gtk/acinclude.m45
1 files changed, 4 insertions, 1 deletions
diff --git a/packages/webkit/webkit-gtk/acinclude.m4 b/packages/webkit/webkit-gtk/acinclude.m4
index e0083b9dd1..5353429010 100644
--- a/packages/webkit/webkit-gtk/acinclude.m4
+++ b/packages/webkit/webkit-gtk/acinclude.m4
@@ -29,6 +29,9 @@ i?86-*-linux*|x86_64-*-linux*|powerpc-*-linux* \
i?86-apple-darwin*)
pic_options='-fno-common'
;;
+*mingw32*)
+ pic_options='-DDLL_EXPORT'
+ ;;
*)
dolt_supported=no
;;
@@ -157,7 +160,7 @@ for arg in "$[]@"; do
case "$arg" in
--mode=compile) modeok=true ;;
--tag=CC|--tag=CXX) tagok=true ;;
- *) args+=("$arg")
+ *) args@<:@${#args[@]}@:>@="$arg" ;;
esac
done
if $modeok && $tagok ; then