diff options
author | Francesco Giancane <francesco.giancane@polito.it> | 2019-03-08 15:47:17 +0100 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2019-03-18 11:26:44 +0000 |
commit | 0b0a608ddc55acf1f817aee03e65a06017239bed (patch) | |
tree | 8b04af84d92d3f9374119a78ae9ee80addc97362 | |
parent | 47d1132b1dc2521299f5041dbb61c8afc29461fd (diff) | |
download | meta-qt5-0b0a608ddc55acf1f817aee03e65a06017239bed.tar.gz |
qtbase: let user decide how to link openssl to Qt5 libraries
Switch from the configure script was extended from -openssl to -openssl-{linked,runtime} so that one can select whether to enable ssl library at linking time or runtime (with dlopen()), or letting the build system decide if no flag is specified.
Now with the OPENSSL_LINKING_MODE variable, it is possible to decide which linking mode to be used.
Signed-off-by: Francesco Giancane <francesco.giancane@polito.it>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
-rw-r--r-- | recipes-qt/qt5/qtbase_git.bb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/recipes-qt/qt5/qtbase_git.bb b/recipes-qt/qt5/qtbase_git.bb index 2f23fa88..821eb95c 100644 --- a/recipes-qt/qt5/qtbase_git.bb +++ b/recipes-qt/qt5/qtbase_git.bb | |||
@@ -94,6 +94,9 @@ PACKAGECONFIG ?= " \ | |||
94 | ${PACKAGECONFIG_SYSTEM} \ | 94 | ${PACKAGECONFIG_SYSTEM} \ |
95 | ${PACKAGECONFIG_DISTRO} \ | 95 | ${PACKAGECONFIG_DISTRO} \ |
96 | " | 96 | " |
97 | # Choose whether to link to OpenSSL library at linking time or run time | ||
98 | # Leave the variable empty to let the buildsystem decide, or specify -linked or -runtime | ||
99 | OPENSSL_LINKING_MODE ??= "" | ||
97 | 100 | ||
98 | PACKAGECONFIG[static] = "-static,-shared" | 101 | PACKAGECONFIG[static] = "-static,-shared" |
99 | PACKAGECONFIG[release] = "-release,-debug" | 102 | PACKAGECONFIG[release] = "-release,-debug" |
@@ -153,7 +156,7 @@ PACKAGECONFIG[kms] = "-kms,-no-kms,drm virtual/egl" | |||
153 | PACKAGECONFIG[gbm] = "-gbm,-no-gbm,virtual/libgbm" | 156 | PACKAGECONFIG[gbm] = "-gbm,-no-gbm,virtual/libgbm" |
154 | PACKAGECONFIG[icu] = "-icu,-no-icu,icu" | 157 | PACKAGECONFIG[icu] = "-icu,-no-icu,icu" |
155 | PACKAGECONFIG[udev] = "-libudev,-no-libudev,udev" | 158 | PACKAGECONFIG[udev] = "-libudev,-no-libudev,udev" |
156 | PACKAGECONFIG[openssl] = "-openssl,-no-openssl,openssl,libssl" | 159 | PACKAGECONFIG[openssl] = "-openssl${OPENSSL_LINKING_MODE},-no-openssl,openssl,libssl" |
157 | PACKAGECONFIG[widgets] = "-widgets,-no-widgets" | 160 | PACKAGECONFIG[widgets] = "-widgets,-no-widgets" |
158 | PACKAGECONFIG[libproxy] = "-libproxy,-no-libproxy,libproxy" | 161 | PACKAGECONFIG[libproxy] = "-libproxy,-no-libproxy,libproxy" |
159 | PACKAGECONFIG[libinput] = "-libinput,-no-libinput,libinput" | 162 | PACKAGECONFIG[libinput] = "-libinput,-no-libinput,libinput" |