OpenBSD対応

This commit is contained in:
2026-01-18 02:12:17 +09:00
parent cddb0d6822
commit 857a6770c7
3 changed files with 13 additions and 1 deletions

View File

@@ -35,7 +35,10 @@ FREETYPEINC = ${INC}/freetype2
# includes and libs
.if "${UNAME}" == "OpenBSD"
INCS = -I${X11INC} -I${FREETYPEINC}
LIBS = -L${X11LIB} -lX11 ${XINERAMALIBS} ${FREETYPELIBS} -lXrender
LIBS = -L${X11LIB} \
-static \
-lX11 -lXinerama -lfontconfig -lXft -lXrender -lc -lxcb \
-lpthread -lXext -lfreetype -lexpat -lz -lXau -lXdmcp
.elif "${UNAME}" == "FreeBSD"
INCS = -I${INC} -I${FREETYPEINC}
LIBS = -L${LIB} \