Created
December 26, 2016 10:23
-
-
Save yano3/67a3d61350a3e492643337548d0bfeb4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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