mirror of
https://github.com/darlinghq/darling-dyld.git
synced 2024-11-26 22:00:26 +00:00
Reworked script to use the build-scripts/libdyld-generate-version-headers.sh
file
TBH, this could probably be reworked more better.
This commit is contained in:
parent
24ff6d9196
commit
366b780611
@ -6,9 +6,9 @@ SCRIPTDIR=$(pwd -P)
|
||||
popd > /dev/null
|
||||
|
||||
export SRCROOT="$SCRIPTDIR/.."
|
||||
export SDKROOT="$SRCROOT/../../Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk"
|
||||
export DSTROOT="$SCRIPTDIR"
|
||||
export DERIVED_FILES_DIR="$SCRIPTDIR"
|
||||
export SDKROOT="$SRCROOT/../../../Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk"
|
||||
|
||||
# copied and modified from dyld.xcodeproj
|
||||
${SRCROOT}/bin/expand.rb < "${SRCROOT}/include/mach-o/dyld_priv.h" > "${SRCROOT}/include/mach-o/dyld_priv.h.tmp"
|
||||
|
||||
mv "${SRCROOT}/include/mach-o/dyld_priv.h.tmp" "${SRCROOT}/include/mach-o/dyld_priv.h"
|
||||
${SRCROOT}/build-scripts/libdyld-generate-version-headers.sh
|
Loading…
Reference in New Issue
Block a user