diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2021-01-22 14:24:14 +0100 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2021-04-14 10:35:06 +0200 |
commit | 866c1d4ab6e9cc8f629a80603ed49b9568c12b8b (patch) | |
tree | 6de0c35351f9da20807e7480620469e0d0051b95 /src | |
parent | da24b7d45046790fca7f4e8abb5fbbb2d7c0ac97 (diff) |
build: look for libqrtr-glib with pkg-config
The WITH_QRTR symbol in config.h will let us know both if libqrtr-glib
is found and if libqmi-glib is compiled with QRTR support (as per the
exposed "qmi_qrtr_supported" variable in pkg-config).
Diffstat (limited to 'src')
-rw-r--r-- | src/Makefile.am | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index 120503e1..c00e8ac3 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -33,6 +33,11 @@ AM_LDFLAGS = \ $(GUDEV_LIBS) \ $(NULL) +if WITH_QRTR +AM_CFLAGS += $(QRTR_CFLAGS) +AM_LDFLAGS += $(QRTR_LIBS) +endif + if WITH_QMI AM_CFLAGS += $(QMI_CFLAGS) AM_LDFLAGS += $(QMI_LIBS) |