commit 370b866

chld  ·  2026-09-04 12:54:32 +0000 UTC
parent 874dbd8
kmscon: fpic
1 files changed,  +1, -1
+1, -1
1@@ -5,7 +5,7 @@ RELEASE=1
2 SOURCE="https://github.com/kmscon/${NAME}"
3 BUILD_OPT="-Ddefault_library=static -Dtests=false -Dextra_debug=false -Ddocs=disabled -Dlibseat=disabled -Dfont_pango=disabled -Ddbus=disabled -Drenderer_gltex=disabled"
4 prebuild(){
5-    export CFLAGS='-static' LDFLAGS='-static'
6+    export CFLAGS='-static -fPIC' LDFLAGS='-static -fPIC'
7 }
8 
9 . ${0%/*}/../../libsh/libdmake.sh