diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2012-08-27 14:33:07 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2012-08-27 14:33:07 +0200 |
commit | 526a1773d487207551495e7ca548c9c8876e6898 (patch) | |
tree | 7334c7ac97084d8beaba2709834ee457b1e58fc3 | |
parent | 5a5785ea427c901a31f7e129ff95ea4316c1ed10 (diff) |
Make sure we can build for MinGW from build
-rw-r--r-- | cutl/makefile | 5 |
1 files changed, 5 insertions, 0 deletions
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' >>$@ |