mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-13 11:42:38 +03:00
23bb276fcd
Cooperate with the compiler to generate and execute the _init_array list of constructor functions on userspace program statup. This took two days to get working, my goodness. :^)
15 lines
414 B
Bash
Executable File
15 lines
414 B
Bash
Executable File
#!/bin/bash
|
|
|
|
mkdir -p ../Root/usr/include/sys/
|
|
mkdir -p ../Root/usr/include/netinet/
|
|
mkdir -p ../Root/usr/include/arpa/
|
|
mkdir -p ../Root/usr/lib/
|
|
cp *.h ../Root/usr/include/
|
|
cp sys/*.h ../Root/usr/include/sys/
|
|
cp arpa/*.h ../Root/usr/include/arpa/
|
|
cp netinet/*.h ../Root/usr/include/netinet/
|
|
cp libc.a ../Root/usr/lib/
|
|
cp crt0.o ../Root/usr/lib/
|
|
cp crti.ao ../Root/usr/lib/crti.o
|
|
cp crtn.ao ../Root/usr/lib/crtn.o
|