Skip to content

Instantly share code, notes, and snippets.

@slaskis
Created December 9, 2009 12:22
Show Gist options
  • Save slaskis/252443 to your computer and use it in GitHub Desktop.
Save slaskis/252443 to your computer and use it in GitHub Desktop.
diff -r -U1 a/src/tools/install.neko b/src/tools/install.neko
--- a/src/tools/install.neko 2009-12-09 12:35:20.000000000 +0100
+++ b/src/tools/install.neko 2009-12-09 13:36:35.000000000 +0100
@@ -123,2 +123,3 @@
if( osx_universal ) {
+ /* Commenting instead because patching is stupid
var dir = "../libs/include/osx_universal/";
@@ -132,2 +133,5 @@
libs.mysql.lib = dir + "libmysqlclient.a";
+ */
+ cflags += " -arch ppc -arch i386";
+ linkoptions += " -arch ppc -arch i386";
}
@@ -228,2 +232,3 @@
request_include = function(incl) {
+ return null;
var s = readline();
@@ -235,2 +240,3 @@
request_lib = function() {
+ return false;
var s = readline();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment