mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Updated Mrbgems FAQ (markdown)
+2
-2
@@ -25,13 +25,13 @@ end
|
||||
Or you may run into a problem where the mruby.h can't be found in that case do this.
|
||||
```ruby
|
||||
conf.cc do |cc|
|
||||
cc.include_paths = ['path\to\mruby\include', 'path\to\your\include']
|
||||
cc.include_paths = ['path/to/mruby/include', 'path/to/your/include']
|
||||
end
|
||||
```
|
||||
Now if you want to link files you do so like this.
|
||||
```ruby
|
||||
spec.linker do |linker|
|
||||
linker.library_paths = 'path\to\lib'
|
||||
linker.library_paths = 'path/to/lib'
|
||||
linker.libraries = ['mingw32', 'foo', 'bar']
|
||||
end
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user