diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2021-06-04 18:26:45 +0200 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2021-06-05 02:31:39 +0200 |
commit | 686bb6c596c1574310b340160dfeb08df8dff81c (patch) | |
tree | c8cb1f868c4c6d9030cce1b65ca7efb203167a68 /Makefile.am | |
parent | 9fa78ca99e32c0f27b6071cc2ddffdf43cb9b9d4 (diff) | |
download | sciteco-686bb6c596c1574310b340160dfeb08df8dff81c.tar.gz |
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
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index 8ab86f6..6a866ba 100644 --- a/Makefile.am +++ b/Makefile.am @@ -2,7 +2,10 @@ # silence libtoolize: ACLOCAL_AMFLAGS = -I m4 -SUBDIRS = lib contrib/dlmalloc contrib/rb3ptr src doc tests +if REPLACE_MALLOC +MAYBE_DLMALLOC = contrib/dlmalloc +endif +SUBDIRS = lib $(MAYBE_DLMALLOC) contrib/rb3ptr src doc tests dist_pkgdata_DATA = sample.teco_ini |