Merge pull request #3328 from efuss/fix-3312
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Wed, 30 Oct 2019 08:20:50 +0000 (09:20 +0100)
committerGitHub <noreply@github.com>
Wed, 30 Oct 2019 08:20:50 +0000 (09:20 +0100)
Fix libupsclient detection

configure.ac

index 3578f2e..9fc40b1 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