GUAC-1005: Include libfreerdp-core in test for freerdp_channels_new(). The function is not always included in libfreerdp-client, and its absence can result in libfreerdp-client not being linked in.
This commit is contained in:
parent
7b6089481c
commit
61fde22b41
@ -400,14 +400,15 @@ then
|
||||
[RDP_LIBS="$RDP_LIBS -lfreerdp-cache"])
|
||||
fi
|
||||
|
||||
# libfreerdp-channels (1.0) / libfreerdp-client (1.1)
|
||||
# libfreerdp-channels (1.0) / libfreerdp-client + libfreerdp-core (1.1)
|
||||
if test "x${have_freerdp}" = "xyes"
|
||||
then
|
||||
AC_CHECK_LIB([freerdp-client], [freerdp_channels_new],
|
||||
[RDP_LIBS="$RDP_LIBS -lfreerdp-client"],
|
||||
[AC_CHECK_LIB([freerdp-channels], [freerdp_channels_new],
|
||||
[RDP_LIBS="$RDP_LIBS -lfreerdp-channels"
|
||||
legacy_freerdp_extensions=yes])])
|
||||
legacy_freerdp_extensions=yes])],
|
||||
[-lfreerdp-core])
|
||||
fi
|
||||
|
||||
# libfreerdp-utils
|
||||
|
Loading…
Reference in New Issue
Block a user