mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-11-13 03:37:15 +00:00
iperf3: fix do_configure failure for native variant
For native recipes, the prefix variable is not '/usr', resulting in iperf3-native searching for wrong location for ssl.h. Fix to use the correct location to find ssl.h. With this fix, iperf3, iperf3-native, nativesdk-iperf3 all succeed to build. Signed-off-by: Chen Qi <chenqi_hycx@cetc.com.cn> Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
This commit is contained in:
1 parent
0faea72623
commit
c3377db45b
1 file changed
+4
-1
@@ -26,7 +26,10 @@ inherit autotools
|
||||
PACKAGECONFIG ?= "openssl"
|
||||
|
||||
PACKAGECONFIG[lksctp] = "ac_cv_header_netinet_sctp_h=yes,ac_cv_header_netinet_sctp_h=no,lksctp-tools"
|
||||
PACKAGECONFIG[openssl] = "--with-openssl=${RECIPE_SYSROOT}${prefix},--without-openssl,openssl"
|
||||
PACKAGECONFIG[openssl] = "--with-openssl=${OPENSSL_ROOT},--without-openssl,openssl"
|
||||
|
||||
OPENSSL_ROOT = "${RECIPE_SYSROOT}${prefix}"
|
||||
OPENSSL_ROOT:class-native = "${RECIPE_SYSROOT_NATIVE}${prefix_native}"
|
||||
|
||||
CFLAGS += "-D_GNU_SOURCE"
|
||||
|
||||
|
||||
Reference in new issue
Block a user