mirror of
https://git.libssh.org/projects/libssh.git
synced 2025-08-10 06:23:01 +03:00
Build the pcap source only if enabled.
This commit is contained in:
@@ -93,7 +93,6 @@ set(libssh_SRCS
|
||||
misc.c
|
||||
options.c
|
||||
packet.c
|
||||
pcap.c
|
||||
poll.c
|
||||
session.c
|
||||
scp.c
|
||||
@@ -102,6 +101,14 @@ set(libssh_SRCS
|
||||
wrapper.c
|
||||
)
|
||||
|
||||
if (WITH_PCAP)
|
||||
set(libssh_SRCS
|
||||
${libssh_SRCS}
|
||||
pcap.c
|
||||
)
|
||||
|
||||
endif (WITH_PCAP)
|
||||
|
||||
if (WITH_SFTP)
|
||||
set(libssh_SRCS
|
||||
${libssh_SRCS}
|
||||
|
Reference in New Issue
Block a user