From f1776924b72a209dd29fb135c5da738384bb83de Mon Sep 17 00:00:00 2001 From: Sathya Laufer Date: Fri, 23 Jun 2017 21:48:32 +0200 Subject: [PATCH] Added -lpthread to getVersion.sh - thanks to @thelaoshi --- getVersion.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/getVersion.sh b/getVersion.sh index c6a83f7..122af87 100755 --- a/getVersion.sh +++ b/getVersion.sh @@ -9,7 +9,7 @@ int main(int argc, char** argv) return 0; } EOF -g++ -std=c++11 -o $dir/libhomegear-base-version $dir/libhomegear-base-version.cpp -lhomegear-base -lgcrypt -lgnutls +g++ -std=c++11 -o $dir/libhomegear-base-version $dir/libhomegear-base-version.cpp -lhomegear-base -lgcrypt -lgnutls -lpthread chmod 755 $dir/libhomegear-base-version $dir/libhomegear-base-version rm -Rf $dir