nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ffi/pkgconfig: use the new pkgconfig infrastructure in the Makefile
[nit.git]
/
src
/
ffi
/
ffi.nit
diff --git
a/src/ffi/ffi.nit
b/src/ffi/ffi.nit
index
a418616
..
a2dda26
100644
(file)
--- a/
src/ffi/ffi.nit
+++ b/
src/ffi/ffi.nit
@@
-60,7
+60,11
@@
redef class MModule
end
ffi_ccu.write_as_impl(self, compdir)
end
ffi_ccu.write_as_impl(self, compdir)
- for filename in ffi_ccu.files do ffi_files.add(new ExternCFile(filename, c_compiler_options))
+ for filename in ffi_ccu.files do
+ var f = new ExternCFile(filename, c_compiler_options)
+ f.pkgconfigs.add_all pkgconfigs
+ ffi_files.add(f)
+ end
end
# Avoid the compile a ffi propdef more than once
end
# Avoid the compile a ffi propdef more than once