We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 16c28fa + 986c5a9 commit a4c81d6Copy full SHA for a4c81d6
1 file changed
configure
@@ -199,9 +199,8 @@ print_config "libuuid" "${libuuid}"
199
# check for libjson-c
200
libjsonc="no"
201
if [ -z "$disable_json" ] ; then
202
- ${ld} -o /dev/null -ljson-c >/dev/null 2>&1
203
- if [ $? -eq 0 ]; then
204
- libjsonc="yes"
+ if pkg-config --atleast-version=0.13 json-c; then
+ libjsonc="yes"
205
fi
206
207
print_config "libjson-c" "${libjsonc}"
0 commit comments