[v2,1/9] pkgconfig: provide minimal proper static linking flags

Message ID 1497391207-13288-2-git-send-email-odpbot@yandex.ru
State Superseded
Headers show
  • Rework the way ODP links with other libraries
Related show

Commit Message

Github ODP bot June 13, 2017, 9:59 p.m.
From: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov@linaro.org>

Provide Libs.private for static linking with ODP in minimal case (no
DPDK, no netmap).

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

/** Email created from pull request 45 (lumag:m4)
 ** https://github.com/Linaro/odp/pull/45
 ** Patch: https://github.com/Linaro/odp/pull/45.patch
 ** Base sha: 7cf390d11e69f6b677e6fbfd6414944737406fc3
 ** Merge commit sha: 3808f2b5af9d034f6157eb2c7eec543ee8055fbf
 pkgconfig/libodp-linux.pc.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


diff --git a/pkgconfig/libodp-linux.pc.in b/pkgconfig/libodp-linux.pc.in
index 61770175..1a8d489f 100644
--- a/pkgconfig/libodp-linux.pc.in
+++ b/pkgconfig/libodp-linux.pc.in
@@ -7,5 +7,5 @@  Name: libodp-linux
 Description: The ODP packet processing engine
 Libs: -L${libdir} -lodp-linux
-Libs.private: @ATOMIC_LIBS@
+Libs.private: -lcrypto -ldl -lpcap @PTHREAD_LIBS@ -lrt -lpthread @ATOMIC_LIBS@
 Cflags: -I${includedir}