Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
diff --git a/build_config.rb b/build_config.rb
index 13751f2..9faddba 100644
--- a/build_config.rb
+++ b/build_config.rb
@@ -8,6 +8,10 @@ MRuby::Build.new('host') do |conf|
cc.flags << ENV['NGX_MRUBY_CFLAGS'] if ENV['NGX_MRUBY_CFLAGS']
end
+ conf.linker do |linker|
+ linker.option_library << ' -lstdc++'
+ end
+
#
# Recommended for ngx_mruby
#
@@ -27,6 +31,7 @@ MRuby::Build.new('host') do |conf|
conf.gem :github => 'matsumoto-r/mruby-uname'
conf.gem :github => 'matsumoto-r/mruby-mutex'
conf.gem :github => 'matsumoto-r/mruby-localmemcache'
+ conf.gem :github => 'kjunichi/mruby-mrmagick'
# ngx_mruby extended class
conf.gem './mrbgems/ngx_mruby_mrblib'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment