Build kb with position independent code

This commit is contained in:
Kamron Bhavnagri
2026-07-04 14:01:17 +10:00
parent ef3e946b5a
commit 8dd82cc1e1

View File

@@ -2,6 +2,6 @@
set -e
mkdir -p "../lib"
cc -O2 -c kb_text_shape.c
cc -O2 -fPIC -c kb_text_shape.c
ar -rcs ../lib/kb_text_shape.a kb_text_shape.o
rm *.o