Skip to content

Commit

Permalink
make LDFLAGS="$flags -lXinerama -lX11 -lXrandr -lXxf86vm -lXcursor -l…
Browse files Browse the repository at this point in the history
…m -lXinerama -ldl -lrt -lXext"
  • Loading branch information
sam#gemmi-win10 committed Nov 4, 2023
1 parent d97cdbb commit cfad92a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion compile/src/suckless/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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..."
Expand Down

0 comments on commit cfad92a

Please sign in to comment.