diff mbox series

[v2,2/3] build: notice about usupported configuration

Message ID 1516669211-12088-3-git-send-email-odpbot@yandex.ru
State Superseded
Headers show
Series [v2,1/3] build: another fix for linking with shared libdpdk | expand

Commit Message

Github ODP bot Jan. 23, 2018, 1 a.m. UTC
From: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov@linaro.org>


Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov@linaro.org>

---
/** Email created from pull request 416 (lumag:trav-dpdk-shared)
 ** https://github.com/Linaro/odp/pull/416
 ** Patch: https://github.com/Linaro/odp/pull/416.patch
 ** Base sha: b122176ee59494dd957f0f5ff41d4b55a1477e13
 ** Merge commit sha: 91127f4ec35dafb800211b84e2fa8992d7b6d216
 **/
 configure.ac | 5 +++++
 1 file changed, 5 insertions(+)
diff mbox series

Patch

diff --git a/configure.ac b/configure.ac
index 56a422b4b..bc75344ce 100644
--- a/configure.ac
+++ b/configure.ac
@@ -191,6 +191,11 @@  AC_ARG_ENABLE([static-applications],
 			      [ with ODP])], [],
 	      [enable_static_applications=yes])
 AM_CONDITIONAL([STATIC_APPS], [test "x$enable_static_applications" != "xno"])
+if test "x$DPDK_SHARED" = "xyes" -a "x$enable_static_applications" != "xno" ;
+then
+	AC_MSG_WARN([Static linking of examples and tests might fail with ]
+	   [shared DPDK, Please retry with --disable-static-applications])
+fi
 
 ##########################################################################
 # Include m4 files