aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2013-03-03 06:48:59 -0800
committerWilmer van der Gaast <wilmer@gaast.net>2013-03-03 06:48:59 -0800
commited3ff435ac2caf34de6b67ae4b6b3f8a04c7ebb7 (patch)
treefd4c595bc97b3251f8ebb6439142994efc26b6c5 /configure
parent0e788f52f992be8792a4cc1218b378370326e5af (diff)
parentb2b7f5247199ad9b49e8a1f095b040fa0f4b9807 (diff)
Merging Skype changes.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure b/configure
index 8e700704..0aaebd08 100755
--- a/configure
+++ b/configure
@@ -547,6 +547,11 @@ elif [ "$otr" = "plugin" ]; then
fi
if [ "$skype" = "1" -o "$skype" = "plugin" ]; then
+ if [ "$arch" = "Darwin" ]; then
+ echo "SKYPEFLAGS=-dynamiclib -undefined dynamic_lookup" >> Makefile.settings
+ else
+ echo "SKYPEFLAGS=-fPIC -shared" >> Makefile.settings
+ fi
echo 'SKYPE_PI=skype.so' >> Makefile.settings
protocols_mods="$protocol_mods skype(plugin)"
fi