From a978b58f11c56ca8f06cf22785362317b4db2c00 Mon Sep 17 00:00:00 2001 From: Koichiro Iwao Date: Mon, 4 Sep 2023 17:33:27 +0900 Subject: [PATCH] waitforx: fix build --- waitforx --- CCLD waitforx ld: error: unable to find library -lX11 ld: error: unable to find library -lXrandr cc: error: linker command failed with exit code 1 (use -v to see invocation) *** [waitforx] Error code 1 --- waitforx/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/waitforx/Makefile.am b/waitforx/Makefile.am index 5b96f661..d4ddaa45 100644 --- a/waitforx/Makefile.am +++ b/waitforx/Makefile.am @@ -1,7 +1,7 @@ pkglibexec_PROGRAMS = \ waitforx -AM_LDFLAGS = -lX11 -lXrandr +AM_LDFLAGS = $(X_LIBS) -lX11 -lXrandr AM_CPPFLAGS = \ -I$(top_srcdir)/sesman/sesexec \