List Archive

Thread

Thread Index

Message

From: Thomas Klausner <tk%giga.or.at@localhost>
To: Benjamin Gilbert <bgilbert%backtick.net@localhost>
Subject: Re: [PATCH] malloc tester build fixes
Date: Sat, 1 Oct 2016 22:50:49 +0200

Hi Benjamin!

Thank you, committed.
 Thomas

On Sun, Sep 25, 2016 at 11:51:30PM -0500, Benjamin Gilbert wrote:
> 
> Don't build malloc tester on Windows.  Fixes build error with MinGW:
> 
>     malloc.c:39:19: fatal error: dlfcn.h: No such file or directory
> 
> Also build malloc as noinst_ so we don't need to override install.
> ---
>  regress/Makefile.am | 7 +++----
>  1 file changed, 3 insertions(+), 4 deletions(-)
> 
> diff --git a/regress/Makefile.am b/regress/Makefile.am
> index 8c79e55..edd9da3 100644
> --- a/regress/Makefile.am
> +++ b/regress/Makefile.am
> @@ -9,12 +9,11 @@ noinst_PROGRAMS= \
>       fseek \
>       tryopen
>  
> -pkglib_LTLIBRARIES=  malloc.la
> +if !WIN32_HOST
> +noinst_LTLIBRARIES=  malloc.la
>  malloc_la_SOURCES=   malloc.c
>  malloc_la_LDFLAGS=   -module -avoid-version
> -
> -install-pkglibLTLIBRARIES:
> -     @echo not installing shared objects needed only for testing
> +endif
>  
>  EXTRA_DIST= \
>       CMakeLists.txt \
> -- 
> 2.7.4
> 

Made by MHonArc.