mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-18 20:10:29 +01:00
wmlib: Use X flags from configure
We use the AC_PATH_XTRA macro to find all the X library paths during build, but we weren't actually using the variables it generated for building wmlib. Instead, we just hardcoded the linker flag "-lX11", which may or may not actually work.
This commit is contained in:
committed by
Carlos R. Mafra
parent
e314f10909
commit
86659be668
@@ -8,7 +8,7 @@ include_HEADERS = WMaker.h
|
|||||||
|
|
||||||
AM_CPPFLAGS = $(DFLAGS) @XCFLAGS@
|
AM_CPPFLAGS = $(DFLAGS) @XCFLAGS@
|
||||||
|
|
||||||
libWMaker_la_LIBADD = -lX11
|
libWMaker_la_LIBADD = @XLFLAGS@ @XLIBS@
|
||||||
|
|
||||||
libWMaker_la_SOURCES = \
|
libWMaker_la_SOURCES = \
|
||||||
menu.c \
|
menu.c \
|
||||||
|
|||||||
Reference in New Issue
Block a user