5a883ad8ca
library instead of the threaded one, as the threaded one would not work correctly on ruby 1.8.
18 lines
585 B
Plaintext
18 lines
585 B
Plaintext
$OpenBSD: patch-ext_mysql2_extconf_rb,v 1.1 2011/04/14 17:23:32 jeremy Exp $
|
|
--- ext/mysql2/extconf.rb.orig Mon Apr 11 16:14:10 2011
|
|
+++ ext/mysql2/extconf.rb Mon Apr 11 16:14:41 2011
|
|
@@ -31,10 +31,10 @@ elsif mc = (with_config('mysql-config') || Dir[GLOB].f
|
|
mc = Dir[GLOB].first if mc == true
|
|
cflags = `#{mc} --cflags`.chomp
|
|
exit 1 if $? != 0
|
|
- libs = `#{mc} --libs_r`.chomp
|
|
- if libs.empty?
|
|
+ #libs = `#{mc} --libs_r`.chomp
|
|
+ #if libs.empty?
|
|
libs = `#{mc} --libs`.chomp
|
|
- end
|
|
+ #end
|
|
exit 1 if $? != 0
|
|
$CPPFLAGS += ' ' + cflags
|
|
$libs = libs + " " + $libs
|