Skip to content

Commit 281c065

Browse files
authored
Merge pull request #34 from Asmod4n/master
expose libzmq include path to other gems
2 parents be5fb1c + b48a599 commit 281c065

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mrbgem.rake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ MRuby::Gem::Specification.new('mruby-zmq') do |spec|
3131
spec.linker.flags_before_libraries << "\"#{spec.build_dir}/build/lib/libzmq.a\""
3232
`pkg-config --cflags \"#{spec.build_dir}/build/libzmq.pc\"`.split("\s").each do |cflag|
3333
if cflag.start_with?('-I')
34-
spec.build.cxx.include_paths << cflag[2..] # strip "-I"
35-
spec.build.cc.include_paths << cflag[2..]
34+
build.cxx.include_paths << cflag[2..] # strip "-I"
35+
build.cc.include_paths << cflag[2..]
3636
end
3737
spec.cxx.flags << cflag
3838
spec.cc.flags << cflag

0 commit comments

Comments
 (0)