From e1f8d6f374f28e57af08abe8bdaecfeb54a2af6f Mon Sep 17 00:00:00 2001 From: Sergey Bugaev Date: Sat, 11 Feb 2017 12:50:57 +0300 Subject: [PATCH] Build QuartzCore --- .gitmodules | 3 +++ etc/dylib.conf | 3 +++ src/external/coreanimation | 1 + src/setup-ld-so.sh | 2 +- 4 files changed, 8 insertions(+), 1 deletion(-) create mode 160000 src/external/coreanimation diff --git a/.gitmodules b/.gitmodules index 234925bf7..9e053d71b 100644 --- a/.gitmodules +++ b/.gitmodules @@ -178,3 +178,6 @@ [submodule "src/external/coregraphics"] path = src/external/coregraphics url = ../darling-coregraphics.git +[submodule "src/external/coreanimation"] + path = src/external/coreanimation + url = ../darling-coreanimation.git diff --git a/etc/dylib.conf b/etc/dylib.conf index f3ab9a926..ec298ec96 100644 --- a/etc/dylib.conf +++ b/etc/dylib.conf @@ -106,6 +106,9 @@ A=libIOKit.so [AppKit.framework] C=libAppKit.so +[QuartzCore.framework] +A=libQuartzCore.so + [SystemConfiguration.framework] A=libSystemConfiguration.so diff --git a/src/external/coreanimation b/src/external/coreanimation new file mode 160000 index 000000000..9f9305ece --- /dev/null +++ b/src/external/coreanimation @@ -0,0 +1 @@ +Subproject commit 9f9305ece0bce88060ef960780518715cc267084 diff --git a/src/setup-ld-so.sh b/src/setup-ld-so.sh index ad15c96ab..809a1593b 100644 --- a/src/setup-ld-so.sh +++ b/src/setup-ld-so.sh @@ -3,7 +3,7 @@ # This runs as root, # with the current directory set to ${CMAKE_INSTALL_PREFIX}/libexec/darling -for file in /etc/ld.so.conf $(find /etc/ld.so.conf.d/ -type f); do +for file in /etc/ld.so.conf $(find /etc/ld.so.conf.d/ -type f -o -type l); do # Copy lines from e.g. /etc/ld.so.conf into ./etc/ld.so.conf, # prepending "/Volumes/SystemRoot" to each line that starts with a slash awk '/^\// { print "/Volumes/SystemRoot" $0 }; /^[^\/]/' $file > .$file -- 2.51.2