aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorJean Guyomarc'h <jean.guyomarch@gmail.com>2015-04-09 17:41:22 -0400
committerMike Blumenkrantz <zmike@osg.samsung.com>2015-04-09 17:41:22 -0400
commit0ea7858f77f05ed8057878526eedf67716157aee (patch)
treed35f1c0230516af1dcaf12f6aff82c770cb9954c /configure.ac
parentremove cslider widget (diff)
downloadenlightenment-0ea7858f77f05ed8057878526eedf67716157aee.tar.gz
modules/battery: fix compiling on OS X
Summary: Battery module relies on Apple's CoreFoundation (CF), but CF's CFLAGS were not provided to this module. Test Plan: Enlightenment now compiles on OS X. Reviewers: zmike, raster Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D2328
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index c90986f5f..c29d9baf2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -644,7 +644,8 @@ have_freebsd="no"
BATTERY_LDFLAGS=
case "$host_os" in
darwin*)
- BATTERY_LDFLAGS="-framework Foundation -framework IOKit"
+ BATTERY_LDFLAGS="${cf_libs}"
+ BATTERY_CFLAGS="${BATTERY_CFLAGS} ${cf_cflags}"
;;
openbsd*)
have_openbsd="yes"