aboutsummaryrefslogtreecommitdiff
path: root/cmake/scripts/darwin_embedded
diff options
context:
space:
mode:
authorfuzzard <bmurphy@bcmcs.net>2019-09-12 11:05:17 +1000
committerfuzzard <bmurphy@bcmcs.net>2019-10-10 19:42:59 +1000
commit7edf80f68093b77e321bcef9630c496e8a243556 (patch)
tree6d99dfa051e78c83e5bde2e9d45084093b8943e2 /cmake/scripts/darwin_embedded
parenta09eb6f67cc4856a43d75d39a1f3813f9f1cc1be (diff)
[ios/networking] - Implemented Darwin_embedded specific network implemenation
Removes darwin_embedded network implementation from standard posix network implementation Handles all CNetworkBase overloads specific to darwin_embedded platforms. As of ios11, it is not possible to retrieve interface MAC addresses, or to retrieve info from the devices ARP table. WOL/WakeOnAccess features are not possible without these. MAC address access was actually deprecated in ios7.
Diffstat (limited to 'cmake/scripts/darwin_embedded')
-rw-r--r--cmake/scripts/darwin_embedded/ArchSetup.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/scripts/darwin_embedded/ArchSetup.cmake b/cmake/scripts/darwin_embedded/ArchSetup.cmake
index 495fa41c49..fd1f750ed7 100644
--- a/cmake/scripts/darwin_embedded/ArchSetup.cmake
+++ b/cmake/scripts/darwin_embedded/ArchSetup.cmake
@@ -12,7 +12,7 @@ else()
list(APPEND ARCH_DEFINES -DTARGET_DARWIN_IOS)
endif()
set(SYSTEM_DEFINES -D_REENTRANT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE
- -D__STDC_CONSTANT_MACROS -DHAS_LINUX_NETWORK -DHAS_ZEROCONF)
+ -D__STDC_CONSTANT_MACROS -DHAS_IOS_NETWORK -DHAS_ZEROCONF)
set(PLATFORM_DIR platform/darwin)
set(PLATFORMDEFS_DIR platform/posix)
set(CMAKE_SYSTEM_NAME Darwin)
@@ -38,7 +38,7 @@ list(APPEND DEPLIBS "-framework CoreFoundation" "-framework CoreVideo"
"-framework CFNetwork" "-framework CoreGraphics"
"-framework Foundation" "-framework UIKit"
"-framework CoreMedia" "-framework AVFoundation"
- "-framework VideoToolbox")
+ "-framework VideoToolbox" "-lresolv")
set(ENABLE_OPTICAL OFF CACHE BOOL "" FORCE)