aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordequis <dx@dxzone.com.ar>2017-05-29 02:04:36 -0300
committerdequis <dx@dxzone.com.ar>2017-05-29 02:04:36 -0300
commitb9c10a1afa791d531c70df88874d07f34b26eb90 (patch)
treedc72cc08d1ce2f12dc5dee4f51ea9bc180d6b1ea
parente19962025c787db3318f7734005b7a029de5b1d6 (diff)
cygwin: add -no-undefined on our side to fix issues with mac OS
So cygwin requires -no-undefined and it was supposed to be harmless on platforms other than windows, but mac OS doesn't like it. Instead of adding platform checks to every plugin, i'm going to revert the changes that added -no-undefined to them, and just do what I should have done since the beginning: use the cygwin-specific parts of the pkg-config file to add -no-undefined right next to -lbitlbee
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 087f274c..7cb15440 100755
--- a/configure
+++ b/configure
@@ -805,7 +805,7 @@ fi
pkgconfiglibs=''
case "$arch" in
CYGWIN* )
- pkgconfiglibs='-L${libdir} -lbitlbee'
+ pkgconfiglibs='-L${libdir} -lbitlbee -no-undefined'
esac
cat <<EOF >bitlbee.pc