From 18b464992f287dc5af060043c89635ce8c50b272 Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Wed, 9 Sep 2015 12:02:39 -0400 Subject: [PATCH] Always output EXEEXT and SOEXT --- src/makefile.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/makefile.c b/src/makefile.c index c7d0184..4ef9727 100644 --- a/src/makefile.c +++ b/src/makefile.c @@ -640,9 +640,8 @@ static void _targets_cxxflags(Configure * configure, FILE * fp) static void _targets_exeext(Configure * configure, FILE * fp) { - if(configure->os == HO_WIN32) - _makefile_output_variable(fp, "EXEEXT", - configure_get_exeext(configure)); + _makefile_output_variable(fp, "EXEEXT", + configure_get_exeext(configure)); } static void _targets_ldflags(Configure * configure, FILE * fp) @@ -767,6 +766,7 @@ static void _variables_library(Configure * configure, FILE * fp, char * done) configure->programs.ccshared); else _makefile_output_variable(fp, "CCSHARED", p); + _makefile_output_variable(fp, "SOEXT", configure_get_soext(configure)); } static void _variables_library_static(Configure * configure, FILE * fp)