fix build when WSYSTYPE=wayland in local cfg
This commit is contained in:
parent
08a4f8abe4
commit
abad9e2dec
3 changed files with 3 additions and 2 deletions
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/sh
|
||||
|
||||
if [ "x$1" = "xx11" ]; then
|
||||
if [ "x$1" = "xx11" -o "x$1" = "xwayland" ]; then
|
||||
if [ "x$2" = "x" ]; then
|
||||
i="-I/usr/include"
|
||||
else
|
||||
|
|
|
|||
|
|
@ -48,7 +48,7 @@ echo 'WSYSTYPE='$WSYSTYPE
|
|||
echo 'X11='$X11
|
||||
echo 'X11H='$X11H
|
||||
|
||||
if [ $WSYSTYPE = x11 ]; then
|
||||
if [ $WSYSTYPE = x11 -o $WSYSTYPE = wayland ]; then
|
||||
echo 'CFLAGS=$CFLAGS '$X11H
|
||||
echo 'HFILES=$HFILES $XHFILES'
|
||||
XO=`ls x11-*.c 2>/dev/null | sed 's/\.c$/.o/'`
|
||||
|
|
|
|||
1
src/cmd/fontsrv/wayland.c
Normal file
1
src/cmd/fontsrv/wayland.c
Normal file
|
|
@ -0,0 +1 @@
|
|||
#include "x11.c"
|
||||
Loading…
Add table
Add a link
Reference in a new issue