From cfad92a6f6dee4b8d89de1365ad105b80aab188f Mon Sep 17 00:00:00 2001 From: sam#gemmi-win10 Date: Sat, 4 Nov 2023 21:49:06 +0800 Subject: [PATCH] make LDFLAGS="$flags -lXinerama -lX11 -lXrandr -lXxf86vm -lXcursor -lm -lXinerama -ldl -lrt -lXext" --- compile/src/suckless/build.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/compile/src/suckless/build.sh b/compile/src/suckless/build.sh index 0d41d9cb..b84e0e1a 100644 --- a/compile/src/suckless/build.sh +++ b/compile/src/suckless/build.sh @@ -171,12 +171,17 @@ sed -i "s^PREFIX =.*^PREFIX = $TARGETPATH^g" config.mk # /mnt2/fk-suckless-st-v084 # xx-clang -o st st.o x.o \ # -static -lXft -lX11 -lxcb -lXau -lfontconfig -lfreetype -lXrender -lXdmcp -lpng -lexpat -lxml2 -lz -lbz2 -lbrotlidec -lbrotlicommon flags="-static -lXft -lX11 -lxcb -lXau -lfontconfig -lfreetype -lXrender -lXdmcp -lpng -lexpat -lxml2 -lz -lbz2 -lbrotlidec -lbrotlicommon $OB_LIBS" -make LDFLAGS="$flags" \ +# make LDFLAGS="$flags" #2>&1 |grep musl/10 |awk '{print $2}' |sort -u # err01: # /usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../lib/libXrender.a(Xrender.o): +# make LDFLAGS="$flags -lXinerama" +# make LDFLAGS="$flags -lXinerama -lX11 -lXrandr -lXxf86vm -lXi -lXcursor -lm -lXinerama -ldl -lrt" + +# +-lXext>> OK; +make LDFLAGS="$flags -lXinerama -lX11 -lXrandr -lXxf86vm -lXcursor -lm -lXinerama -ldl -lrt -lXext" log "Install DMENU..."