From 526a1773d487207551495e7ca548c9c8876e6898 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 27 Aug 2012 14:33:07 +0200 Subject: Make sure we can build for MinGW from build --- cutl/makefile | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'cutl/makefile') diff --git a/cutl/makefile b/cutl/makefile index a6d5d03..615e5fa 100644 --- a/cutl/makefile +++ b/cutl/makefile @@ -55,6 +55,8 @@ $(cxx_obj) $(cxx_od): $(cutl.l.cpp-options) $(cutl.l.cpp-options): value := -I$(out_root) -I$(src_root) $(cxx_obj) $(cxx_od): $(odb_tracer.l.cpp-options) $(out_base)/details/config.h +$(call include,$(bld_root)/ld/configuration-lib.make) # ld_lib_type + $(out_base)/details/config.h: @echo '// file : cutl/details/config.h' >$@ @echo '// note : automatically generated' >>$@ @@ -62,6 +64,9 @@ $(out_base)/details/config.h: @echo '#ifndef CUTL_DETAILS_CONFIG_H' >>$@ @echo '#define CUTL_DETAILS_CONFIG_H' >>$@ @echo '' >>$@ +ifeq ($(ld_lib_type),archive) + @echo '#define LIBCUTL_STATIC_LIB' >>$@ +endif @echo '' >>$@ @echo '#endif // CUTL_DETAILS_CONFIG_H' >>$@ -- cgit v1.1