OpenBSD対応

This commit is contained in:
2026-01-18 02:19:31 +09:00
parent bfb1a467a4
commit fdc704a70b
4 changed files with 28 additions and 6 deletions

View File

@@ -45,13 +45,13 @@ CFLAGS += -I/usr/local/include -I/usr/local/include/X11\
CFLAGS += -I/usr/include/freetype2
.endif
LDFLAGS = -lc -lX11 -lXft -lsys
LDFLAGS = -lc -lX11 -lXft
SLIB = -lxcb
.if ${OS} == "openbsd"
SLIB += -lfontconfig -lz -lexpat -lfreetype -lXrender -lXau -lXdmcp
.elif ${OS} == "freebsd"
SLIB += -lthr -lfontconfig -lintl -lfreetype -lXrender -lXau -lXdmcp -lexpat -lz -lbz2\
-lpng16 -lbrotlidec -lm -lbrotlicommon
SLIB += -lsys -lthr -lfontconfig -lintl -lfreetype -lXrender -lXau -lXdmcp -lexpat \
-lz -lbz2 -lpng16 -lbrotlidec -lm -lbrotlicommon
.elif ${OS} == "netbsd"
SLIB += -lfontconfig -lfreetype -lXau -lXdmcp -lgcc -lexpat -lz -lbz2 -lXrandr\
-lXrender -lXext -lX11