Fix libtokyotyrant handling
authorEdgar Fuß <ef@math.uni-bonn.de>
Tue, 29 Oct 2019 17:53:27 +0000 (18:53 +0100)
committerGitHub <noreply@github.com>
Tue, 29 Oct 2019 17:53:27 +0000 (18:53 +0100)
In libtokyotyrant handling, set with_libtokyotyrant_ldflags to "-L$withval/lib", not "-L$withval/include".

configure.ac

index 59a7f35..40ccafe 100644 (file)
@@ -5399,7 +5399,7 @@ AC_ARG_WITH([libtokyotyrant],
       with_libtokyotyrant="$withval"
     else
       with_libtokyotyrant_cppflags="-I$withval/include"
-      with_libtokyotyrant_ldflags="-L$withval/include"
+      with_libtokyotyrant_ldflags="-L$withval/lib"
       with_libtokyotyrant_libs="-ltokyotyrant"
       with_libtokyotyrant="yes"
     fi