[vlc-commits] configure.ac: fix linking CFNetwork with SDKs older than 10.8
Felix Paul Kühne
git at videolan.org
Thu Oct 10 14:48:36 CEST 2013
vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Thu Oct 10 14:47:57 2013 +0200| [b69a01e82029ca8d531e301a16441d48429bfaf8] | committer: Felix Paul Kühne
configure.ac: fix linking CFNetwork with SDKs older than 10.8
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b69a01e82029ca8d531e301a16441d48429bfaf8
---
configure.ac | 2 +-
src/darwin/netconf.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/configure.ac b/configure.ac
index a526996..be30c53 100644
--- a/configure.ac
+++ b/configure.ac
@@ -155,7 +155,7 @@ case "${host_os}" in
LDFLAGS="${LDFLAGS} -Wl,-headerpad_max_install_names ${ARCH_flag}"
VLC_ADD_LIBS([libvlc vlc],[-Wl,-undefined,dynamic_lookup,-framework,AppKit])
VLC_ADD_LIBS([avcodec access_avio swscale postproc i420_rgb_mmx x262 x264 x26410b],[-Wl,-read_only_relocs,suppress])
- VLC_ADD_LIBS([libvlccore],[-Wl,-framework,CoreFoundation,-framework,CFNetwork])
+ VLC_ADD_LIBS([libvlccore],[-Wl,-framework,CoreFoundation,-framework,CoreServices])
dnl Allow binaries created on Lion to run on earlier releases
AC_EGREP_CPP(yes,
diff --git a/src/darwin/netconf.c b/src/darwin/netconf.c
index c36201c..802e0dc 100644
--- a/src/darwin/netconf.c
+++ b/src/darwin/netconf.c
@@ -29,7 +29,7 @@
#include <vlc_network.h>
#include <CoreFoundation/CoreFoundation.h>
-#include <CFNetwork/CFProxySupport.h>
+#include <CoreServices/CoreServices.h>
/**
* Determines the network proxy server to use (if any).
More information about the vlc-commits
mailing list