]> git.saurik.com Git - apple/libpthread.git/blobdiff - xcodescripts/install-lldbmacros.sh
libpthread-416.11.1.tar.gz
[apple/libpthread.git] / xcodescripts / install-lldbmacros.sh
index 9501f969e6bd98298022414bb311804ac367b7ed..ca2d3314fba78109271b462df7730eb34b7ff8f3 100644 (file)
@@ -16,3 +16,9 @@ for variant in $BUILD_VARIANTS; do
 
        ln -sf init.py $DWARF_DSYM_FOLDER_PATH/$DWARF_DSYM_FILE_NAME/Contents/Resources/Python/$EXECUTABLE_NAME$SUFFIX.py
 done
+
+if test "$PLATFORM_NAME" != macosx; then
+    mkdir -p $DSTROOT/AppleInternal/KextObjects/Python/$MODULE_NAME || true
+    rsync -aq $SRCROOT/lldbmacros/* $DSTROOT/AppleInternal/KextObjects/Python/$MODULE_NAME
+    ln -sf init.py $DSTROOT/AppleInternal/KextObjects/Python/$MODULE_NAME/$EXECUTABLE_NAME.py
+fi