Skip to content
This repository was archived by the owner on Dec 20, 2023. It is now read-only.

Commit e1a1c5a

Browse files
committed
Configure: check pkg-config before BlueZ
Because NL_WITH_OPTIONAL_INTERNAL_PACKAGE may use pkg-config to find external BlueZ library, pkg-config must be checked before it. Change-Id: If48d395bf6da2db03c608efe7603ee37273c40a8
1 parent 70a44a7 commit e1a1c5a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

configure.ac

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1359,6 +1359,10 @@ if test "${CONFIG_DEVICE_LAYER}" = 1; then
13591359
fi
13601360

13611361

1362+
# Check if the build host has pkg-config
1363+
1364+
AC_PATH_PROG([PKG_CONFIG],[pkg-config])
1365+
13621366
#
13631367
# WoBle over Bluez Peripheral support
13641368
#
@@ -2030,10 +2034,6 @@ AC_LANG_POP([C++])
20302034
#
20312035
AC_MSG_NOTICE([checking package dependencies])
20322036

2033-
# Check if the build host has pkg-config
2034-
2035-
AC_PATH_PROG([PKG_CONFIG],[pkg-config])
2036-
20372037
#
20382038
# CuRL
20392039
#

0 commit comments

Comments
 (0)