mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-22 15:02:25 +00:00
9f7e47368f
Dynamically loading the `compat-libc` breaks `fork(2)` on Genode. Switch `compat-libc` to a special api package that provides a source file for statically linking the library, analogous to the `blit` package. This also requires a quirk in Goa but should prevent breaking `fork()` and removes the runtime and archive dependencies for Rust packages using `compat-libc`. Ref genodelabs/goa#61
11 lines
195 B
Makefile
11 lines
195 B
Makefile
MIRROR_FROM_REP_DIR := lib/mk/compat-libc.mk src/lib/compat-libc
|
|
|
|
content: $(MIRROR_FROM_REP_DIR) LICENSE
|
|
|
|
$(MIRROR_FROM_REP_DIR):
|
|
$(mirror_from_rep_dir)
|
|
|
|
LICENSE:
|
|
cp $(GENODE_DIR)/LICENSE $@
|
|
|