[lxc-devel] [PATCH] tests/Makefile.am: Update for bionic

Serge Hallyn serge.hallyn at canonical.com
Thu Jan 3 19:13:23 UTC 2013


Quoting Stéphane Graber (stgraber at ubuntu.com):
> -lpthread doesn't exist and isn't necessary on bionic.
> 
> Signed-off-by: Stéphane Graber <stgraber at ubuntu.com>

Acked-by: Serge E. Hallyn <serge.hallyn at ubuntu.com>

> ---
>  src/tests/Makefile.am | 7 ++++++-
>  1 file changed, 6 insertions(+), 1 deletion(-)
> 
> diff --git a/src/tests/Makefile.am b/src/tests/Makefile.am
> index fa61f70..90fcafe 100644
> --- a/src/tests/Makefile.am
> +++ b/src/tests/Makefile.am
> @@ -1,6 +1,11 @@
>  if ENABLE_TESTS
>  
> -LDADD = ../lxc/liblxc.so -lpthread
> +LDADD = ../lxc/liblxc.so
> +
> +if !IS_BIONIC
> +LDADD += -lpthread
> +endif
> +
>  lxc_test_containertests_SOURCES = containertests.c
>  lxc_test_locktests_SOURCES = locktests.c
>  lxc_test_startone_SOURCES = startone.c
> -- 
> 1.8.0
> 
> 
> ------------------------------------------------------------------------------
> Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
> MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
> with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
> MVPs and experts. ON SALE this month only -- learn more at:
> http://p.sf.net/sfu/learnmore_122712
> _______________________________________________
> Lxc-devel mailing list
> Lxc-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/lxc-devel




More information about the lxc-devel mailing list