From 686bb6c596c1574310b340160dfeb08df8dff81c Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Fri, 4 Jun 2021 18:26:45 +0200 Subject: when not replacing malloc with dlmalloc (--disable-malloc-replacement), don't build an empty libdlmalloc * on some platforms (eg. Darwin/mac OS) we cannot apparently build empty convenience libraries * instead, we use conditional subdirectories and a conditional library dependency --- contrib/dlmalloc/Makefile.am | 2 -- 1 file changed, 2 deletions(-) (limited to 'contrib') diff --git a/contrib/dlmalloc/Makefile.am b/contrib/dlmalloc/Makefile.am index 8df52cb..f9e35dd 100644 --- a/contrib/dlmalloc/Makefile.am +++ b/contrib/dlmalloc/Makefile.am @@ -19,6 +19,4 @@ AM_CFLAGS = -fno-optimize-strlen endif noinst_LTLIBRARIES = libdlmalloc.la -if REPLACE_MALLOC libdlmalloc_la_SOURCES = malloc.c malloc.h -endif -- cgit v1.2.3