From 595288066599a58afd6577988ba481b65bd94612 Mon Sep 17 00:00:00 2001 From: Steve Huston Date: Thu, 25 Jun 2009 13:28:11 +0000 Subject: ChangeLogTag:Thu Jun 25 13:26:13 UTC 2009 Steve Huston --- ACE/ChangeLog | 6 ++++++ ACE/include/makeinclude/wrapper_macros.GNU | 10 ++++++++++ 2 files changed, 16 insertions(+) diff --git a/ACE/ChangeLog b/ACE/ChangeLog index 76c31c17ef8..f9ba5577d28 100644 --- a/ACE/ChangeLog +++ b/ACE/ChangeLog @@ -1,3 +1,9 @@ +Thu Jun 25 13:26:13 UTC 2009 Steve Huston + + * include/makeinclude/wrapper_macros.GNU: Restore pre-5.7 build + functionality for non-MPC-generated Makefiles that use LIB to + specify what library to build. Fixes Bugzilla 3708. + Thu Jun 25 02:09:51 UTC 2009 Johnny Willemsen * rpmbuild/ace-tao-ciao.spec: diff --git a/ACE/include/makeinclude/wrapper_macros.GNU b/ACE/include/makeinclude/wrapper_macros.GNU index b169dc5e2f3..68018aa6af0 100644 --- a/ACE/include/makeinclude/wrapper_macros.GNU +++ b/ACE/include/makeinclude/wrapper_macros.GNU @@ -192,6 +192,16 @@ # (link to the appropriate platform-specific config file). #---------------------------------------------------------------------------- +# User-written makefiles that are not MPC-generated often use LIB to specify +# what to build. This is in contrast to MPC-generated files that use +# LIB_CHECKED for this purpose. LIB causes conflicts on Windows with gmake +# and Visual Studio which uses the LIB environment variable as a search path +# for libraries to link. So, to allow non-MPC makefiles to keep working, set +# LIB_CHECKED based on LIB if the former is not set and the latter is. +ifndef COMSPEC + LIB_CHECKED ?= $(LIB) +endif # ! COMPSPEC (and, therefore, assumed !Windows + # default to not using an architecture specific output directory ARCH ?= ARCH_BIN = $(BIN) -- cgit v1.2.1