commit de1f4ab

chld  ·  2026-09-10 03:19:51 +0000 UTC
parent 2c57c29
chafa: manual build() to link w charset
1 files changed,  +6, -1
+6, -1
 1@@ -4,6 +4,11 @@ VERSION=1.18.2
 2 RELEASE=1
 3 SOURCE="https://github.com/hpjansson/${NAME}/releases/download/${VERSION}/${NAME}-${VERSION}.tar.xz"
 4 BUILD_OPT="--disable-Bsymbolic --enable-static --disable-shared --disable-man --without-gnu-ld --disable-gtk-doc"
 5-LDFLAGS="-lcharset"
 6+build(){
 7+    CFLAGS="-static" LDFLAGS="-static" ./configure $BUILD_OPT
 8+    
 9+    gmake LDFLAGS='-lcharset -static -all-static' CFLAGS='-static'
10+    gmake LDFLAGS='-lcharset' CFLAGS='-static' DESTDIR="$PKG" install
11+}
12 
13 . ${0%/*}/../../libsh/libdmake.sh