[build] Add build knowledge of dynamic libraries
Bonnibel will now build dynamic libraries when they're dependencies for non-statically linked modules. It will also copy those shared libraries into the initrd image for programs being copied into the image.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
# vim: ft=python
|
||||
|
||||
bp = module("bootproto",
|
||||
kind = "lib",
|
||||
kind = "headers",
|
||||
public_headers = [
|
||||
"bootproto/acpi.h",
|
||||
"bootproto/bootconfig.h",
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
# vim: ft=python
|
||||
|
||||
libc_free = module("libc_free",
|
||||
kind = "lib",
|
||||
kind = "headers",
|
||||
basename = "libc_free",
|
||||
no_libc = True,
|
||||
include_phase = "late",
|
||||
public_headers = [
|
||||
|
||||
Reference in New Issue
Block a user