From 0cf48ca4019b297ec6dfc927b4925a04ea059c78 Mon Sep 17 00:00:00 2001
From: "Yury V. Zaytsev" <yury@shurup.com>
Date: Thu, 30 May 2024 16:57:35 +0200
Subject: [PATCH] buildsys: fix build on macOS with libssh2 present via
homebrew
Path to libssh2 headers was missing from CPPFLAGS resulting into FTBFS.
Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
---
src/Makefile.am | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/src/Makefile.am b/src/Makefile.am
index cca050cb8..1ed6e5b9d 100644
a
|
b
|
SUBDIRS += consaver |
26 | 26 | AM_CPPFLAGS += -DSAVERDIR=\""$(pkglibexecdir)"\" |
27 | 27 | endif |
28 | 28 | |
| 29 | if ENABLE_VFS |
| 30 | if ENABLE_VFS_SFTP |
| 31 | AM_CPPFLAGS += $(LIBSSH_CFLAGS) |
| 32 | endif |
| 33 | endif |
| 34 | |
29 | 35 | AM_CPPFLAGS += -I$(top_srcdir) $(GLIB_CFLAGS) |
30 | 36 | |
31 | 37 | localedir = $(datadir)/locale |