something like

--- a/pkgconfig/libodp-linux.pc.in
+++ b/pkgconfig/libodp-linux.pc.in
@@ -6,6 +6,6 @@ includedir=@includedir@
 Name: libodp-linux
 Description: The ODP packet processing engine
 Version: @PKGCONFIG_VERSION@
-Libs: -L${libdir} -lodp-linux
+Libs: -L${libdir} -lodp-linux @LIBS@
 Libs.private:
 Cflags: -I${includedir}


is missing.

On 05/24/17 20:00, Github ODP bot wrote:
> From: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org>
> 
> Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org>
> ---
> /** Email created from pull request 38 (lumag:fix-link)
>  ** https://github.com/Linaro/odp/pull/38
>  ** Patch: https://github.com/Linaro/odp/pull/38.patch
>  ** Base sha: ea134fe159c0d249e4bed12b7269e8236afa0262
>  ** Merge commit sha: 2a43e1a78dacc9d3122ed0cd88edd811052d09c0
>  **/
>  .travis.yml | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/.travis.yml b/.travis.yml
> index 65edfbb3..8ef5637e 100644
> --- a/.travis.yml
> +++ b/.travis.yml
> @@ -133,10 +133,10 @@ script:
>          - echo "Checking linking and run from install..."
>          - pushd $HOME
>          - echo "Dynamic link.."
> -        - ${CC} ${OLDPWD}/example/hello/odp_hello.c -o odp_hello_inst 
> -I${HOME}/odp-install/include -L${HOME}/odp-install/lib -lodp-linux 
> -L${OLDPWD}/dpdk/x86_64-native-linuxapp-gcc/lib -lrt -ldpdk -lpthread 
> -lcrypto -lpcap $MY_CF $MY_LDF -ldl
> +        - ${CC} ${OLDPWD}/example/hello/odp_hello.c -o odp_hello_inst 
> `PKG_CONFIG_PATH=${HOME}/odp-install/lib/pkgconfig pkg-config --cflags --libs 
> libodp-linux` $MY_CF $MY_LDF
>          - LD_LIBRARY_PATH="${HOME}/odp-install/lib:$LD_LIBRARY_PATH" 
> ./odp_hello_inst
>          - echo "Static link.."
> -        - ${CC} ${OLDPWD}/example/hello/odp_hello.c -o odp_hello_inst 
> -I${HOME}/odp-install/include -L${HOME}/odp-install/lib -lodp-linux 
> -L${OLDPWD}/dpdk/x86_64-native-linuxapp-gcc/lib -lrt -ldpdk -lpthread 
> -lcrypto -lpcap $MY_CF $MY_LDF -ldl -static
> +        - ${CC} ${OLDPWD}/example/hello/odp_hello.c -o odp_hello_inst 
> `PKG_CONFIG_PATH=${HOME}/odp-install/lib/pkgconfig pkg-config --cflags --libs 
> libodp-linux --static` $MY_CF $MY_LDF -static
>          - ./odp_hello_inst
>          - popd
>  
> 

Reply via email to