mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2026-03-29 07:58:19 -04:00
configure.ac: use pkg-config to find expat
This is now done in the same way as the libffi dependency and still allows the library to be installed in a non-standard location (with PKG_CONFIG_PATH).
This commit is contained in:
parent
cd0cf5a106
commit
a4afd90f9f
2 changed files with 2 additions and 10 deletions
|
|
@ -65,6 +65,7 @@ if ENABLE_SCANNER
|
|||
wayland_scanner = $(top_builddir)/wayland-scanner
|
||||
bin_PROGRAMS = wayland-scanner
|
||||
wayland_scanner_SOURCES = src/scanner.c
|
||||
wayland_scanner_CFLAGS = $(EXPAT_CFLAGS) $(AM_CFLAGS)
|
||||
wayland_scanner_LDADD = $(EXPAT_LIBS) libwayland-util.la
|
||||
$(BUILT_SOURCES) : wayland-scanner
|
||||
pkgconfig_DATA += src/wayland-scanner.pc
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue