GUAC-1171: Only include common SSH library if enabled.
This commit is contained in:
parent
2e5a3606f3
commit
b770800eda
@ -97,12 +97,6 @@ noinst_HEADERS = \
|
||||
resolution.h \
|
||||
unicode.h
|
||||
|
||||
# Build SFTP support if enabled
|
||||
if ENABLE_COMMON_SSH
|
||||
noinst_HEADERS += sftp.h
|
||||
libguac_client_rdp_la_SOURCES += sftp.c
|
||||
endif
|
||||
|
||||
# Add compatibility layer for WinPR if not available
|
||||
if ! ENABLE_WINPR
|
||||
noinst_HEADERS += compat/winpr-stream.h compat/winpr-wtypes.h
|
||||
@ -136,7 +130,6 @@ libguac_client_rdp_la_LDFLAGS = \
|
||||
|
||||
libguac_client_rdp_la_LIBADD = \
|
||||
@COMMON_LTLIB@ \
|
||||
@COMMON_SSH_LTLIB@ \
|
||||
@LIBGUAC_LTLIB@
|
||||
|
||||
#
|
||||
@ -196,6 +189,16 @@ guacsvc_libadd = \
|
||||
@COMMON_LTLIB@ \
|
||||
@LIBGUAC_LTLIB@
|
||||
|
||||
#
|
||||
# Optional SFTP support
|
||||
#
|
||||
|
||||
if ENABLE_COMMON_SSH
|
||||
libguac_client_rdp_la_SOURCES += sftp.c
|
||||
noinst_HEADERS += sftp.h
|
||||
libguac_client_rdp_la_LIBADD += @COMMON_SSH_LTLIB@
|
||||
endif
|
||||
|
||||
#
|
||||
# Autogenerate keymaps
|
||||
#
|
||||
|
@ -37,12 +37,6 @@ noinst_HEADERS = \
|
||||
guac_handlers.h \
|
||||
vnc_handlers.h
|
||||
|
||||
# Optional SFTP support
|
||||
if ENABLE_COMMON_SSH
|
||||
libguac_client_vnc_la_SOURCES += sftp.c
|
||||
noinst_HEADERS += sftp.h
|
||||
endif
|
||||
|
||||
# Optional PulseAudio support
|
||||
if ENABLE_PULSE
|
||||
libguac_client_vnc_la_SOURCES += pulse.c
|
||||
@ -63,6 +57,12 @@ libguac_client_vnc_la_LDFLAGS = \
|
||||
|
||||
libguac_client_vnc_la_LIBADD = \
|
||||
@COMMON_LTLIB@ \
|
||||
@COMMON_SSH_LTLIB@ \
|
||||
@LIBGUAC_LTLIB@
|
||||
|
||||
# Optional SFTP support
|
||||
if ENABLE_COMMON_SSH
|
||||
libguac_client_vnc_la_SOURCES += sftp.c
|
||||
noinst_HEADERS += sftp.h
|
||||
libguac_client_vnc_la_LIBADD += @COMMON_SSH_LTLIB@
|
||||
endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user