Skip to content

Instantly share code, notes, and snippets.

@primalmotion
Created November 7, 2011 19:43
Show Gist options
  • Save primalmotion/1345931 to your computer and use it in GitHub Desktop.
Save primalmotion/1345931 to your computer and use it in GitHub Desktop.
Would you like to build the JavaScriptCore engine for Narwhal?
This is optional but will make building and running Cappuccino and Objective-J
much faster.
Enter "yes" or "no":
yes
sh configure
Detected <JavaScriptCore/JavaScript.h>
#find lib -name "*.dylib" \! -path "*.dSYM*" -exec install_name_tool -change "/System/Library/Frameworks/JavaScriptCore.framework/Versions/A/JavaScriptCore" "@executable_path/../frameworks/JavaScriptCore.framework/JavaScriptCore" {} \;
find lib -name "*.dylib" \! -path "*.dSYM*" -exec install_name_tool -change "lib/libnarwhal.dylib" "@executable_path/../lib/libnarwhal.dylib" {} \;
echo 'export NARWHAL_JSC_MODE="webkit"' > narwhal-jsc.conf
# rm -f bin/narwhal-jsc
# ln -s narwhal-webkit bin/narwhal-jsc
================================================================================
Bootstrapping of Cappuccino and other required tools is complete.
NOTE: any changes made to the shell configuration files won't take place until you restart the shell.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment