We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2566600 commit d9bebfbCopy full SHA for d9bebfb
build/find_ssdeep.m4
@@ -25,20 +25,23 @@ AS_IF([test "x${test_paths}" != "x"], [
25
AC_MSG_CHECKING([for ssdeep path])
26
27
SSDEEP_LIB_NAME="fuzzy"
28
+ ssdeep_dir=
29
30
if test -z "$withssdeep" -o "$withssdeep" = "yes"; then
31
for i in ${test_paths}; do
32
if test -f "$i/include/fuzzy.h"; then
- SSDEEP_CFLAGS="-I$i"
33
+ SSDEEP_CFLAGS="-I$i/include"
34
+ ssdeep_dir=$i
35
fi
36
done
37
else
38
if test -f "$withssdeep/include/fuzzy.h"; then
39
+ SSDEEP_CFLAGS="-I$withssdeep/include"
40
+ ssdeep_dir=$withssdeep
41
42
43
- SSDEEP_LDFLAGS="-lfuzzy"
44
+ SSDEEP_LDFLAGS="-L$ssdeep_dir/lib -lfuzzy"
45
SSDEEP_LDADD="-lfuzzy"
46
47
])
0 commit comments