mirror of
https://github.com/mintycube/st.git
synced 2024-10-22 14:05:49 +02:00
Library dependencies must be enabled / uncommented on a need basis (alpha patch and themed cursor patch), ref. #5
This commit is contained in:
parent
f34aef7e07
commit
87fe11cfcc
@ -12,11 +12,17 @@ X11LIB = /usr/X11R6/lib
|
||||
|
||||
PKG_CONFIG = pkg-config
|
||||
|
||||
# Uncomment this for the alpha patch / ALPHA_PATCH
|
||||
#XRENDER = -lXrender
|
||||
|
||||
# Uncomment this for the themed cursor patch / THEMED_CURSOR_PATCH
|
||||
#XCURSOR = -lXcursor
|
||||
|
||||
# includes and libs
|
||||
INCS = -I$(X11INC) \
|
||||
`$(PKG_CONFIG) --cflags fontconfig` \
|
||||
`$(PKG_CONFIG) --cflags freetype2`
|
||||
LIBS = -L$(X11LIB) -lm -lrt -lX11 -lutil -lXft -lXrender -lXcursor\
|
||||
LIBS = -L$(X11LIB) -lm -lrt -lX11 -lutil -lXft ${XRENDER} ${XCURSOR}\
|
||||
`$(PKG_CONFIG) --libs fontconfig` \
|
||||
`$(PKG_CONFIG) --libs freetype2`
|
||||
|
||||
|
@ -15,6 +15,8 @@
|
||||
#define ALPHA_PATCH 0
|
||||
|
||||
/* This patch allows st to reize to any pixel size rather than snapping to character width/height.
|
||||
* You need to uncomment the corresponding line in config.mk to use the -lXrender library
|
||||
* when including this patch.
|
||||
* https://st.suckless.org/patches/anysize/
|
||||
*/
|
||||
#define ANYSIZE_PATCH 0
|
||||
@ -189,6 +191,8 @@
|
||||
#define SPOILER_PATCH 0
|
||||
|
||||
/* Instead of a default X cursor, use the xterm cursor from your cursor theme.
|
||||
* You need to uncomment the corresponding line in config.mk to use the -lXcursor library
|
||||
* when including this patch.
|
||||
* https://st.suckless.org/patches/themed_cursor/
|
||||
*/
|
||||
#define THEMED_CURSOR_PATCH 0
|
||||
|
Loading…
Reference in New Issue
Block a user