public
Rubygem
Description: Ruby osx/plist extension for reading/writing property lists
Clone URL: git://github.com/kballard/osx-plist.git
Search Repo:
Fix plist extconf.rb such that anybody can build a working fat 
plist.bundle
kballard (author)
Thu Nov 02 14:37:03 -0800 2006
commit  2bb3d3eb4abeda292d03e1e5ff6eb117c1b31fb8
tree    d2896cb1f2f1299a15e008eb1b08c0fb3b5e7e4e
parent  ba9405acea871a7b8f10b41422db50885f37e192
...
1
2
3
4
 
 
 
 
5
...
1
2
 
 
3
4
5
6
7
0
@@ -1,6 +1,8 @@
0
 #!/usr/bin/ruby
0
 require 'mkmf'
0
-$CFLAGS += " -arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk"
0
-$LDFLAGS += ' -framework CoreFoundation'
0
+newFlags = " -arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk"
0
+$CFLAGS += newFlags
0
+$LDFLAGS += ' -framework CoreFoundation' + newFlags + ' -undefined suppress -flat_namespace'
0
+$LIBRUBYARG_SHARED=""
0
 create_makefile("plist")

Comments

    No one has commented yet.