mirror of
https://github.com/RGBCube/serenity
synced 2025-05-17 09:45:06 +00:00

We were installing libraries into /Libraries/Root, rather than in /Root. This made the ports system behave rather unpredictable, since I had old versions of things in /Root and new versions of things in /Libraries/Root.
17 lines
587 B
Bash
Executable file
17 lines
587 B
Bash
Executable file
#!/bin/bash
|
|
|
|
set -e
|
|
SERENITY_ROOT=../../
|
|
|
|
mkdir -p $SERENITY_ROOT/Root/usr/include/sys/
|
|
mkdir -p $SERENITY_ROOT/Root/usr/include/netinet/
|
|
mkdir -p $SERENITY_ROOT/Root/usr/include/arpa/
|
|
mkdir -p $SERENITY_ROOT/Root/usr/lib/
|
|
cp *.h $SERENITY_ROOT/Root/usr/include/
|
|
cp sys/*.h $SERENITY_ROOT/Root/usr/include/sys/
|
|
cp arpa/*.h $SERENITY_ROOT/Root/usr/include/arpa/
|
|
cp netinet/*.h $SERENITY_ROOT/Root/usr/include/netinet/
|
|
cp libc.a $SERENITY_ROOT/Root/usr/lib/
|
|
cp crt0.o $SERENITY_ROOT/Root/usr/lib/
|
|
cp crti.ao $SERENITY_ROOT/Root/usr/lib/crti.o
|
|
cp crtn.ao $SERENITY_ROOT/Root/usr/lib/crtn.o
|