List Archive
Thread
-
[PATCH] malloc tester build fixes,
Benjamin Gilbert
(2016/09/26 04:51:33)
- Re: [PATCH] malloc tester build fixes, Thomas Klausner (2016/10/01 20:50:49)
Message
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.