diff options
Diffstat (limited to 'ACE/include/makeinclude/rules.lib.GNU')
-rw-r--r-- | ACE/include/makeinclude/rules.lib.GNU | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ACE/include/makeinclude/rules.lib.GNU b/ACE/include/makeinclude/rules.lib.GNU index 2b0ded6127f..8cff7458812 100644 --- a/ACE/include/makeinclude/rules.lib.GNU +++ b/ACE/include/makeinclude/rules.lib.GNU @@ -156,7 +156,8 @@ $(VLIB): $(VLOBJS) #### to lib files, for example. -$(LINK.cc) $(LINK_OUTPUT_FLAG) ace-templ_inst $? $(LDFLAGS) $(ACE_NUL_STDERR) endif # ace_lib_prelink - echo $(TMPINCDIR:%=%/*.o) $(filter %.o, $?) | xargs $(AR) $(ARFLAGS) $@ $(AREXTRA) + ([ "`echo $(TMPINCDIR:%=%/*.o)`" != "$(TMPINCDIR:%=%/*.o)" ] && echo $(TMPINCDIR:%=%/*.o); \ + echo $(filter %.o, $?)) | xargs $(AR) $(ARFLAGS) $@ $(AREXTRA) ifdef ibmcxx_build # This is required to get AIX IBM C/C++ to instantiate and compile the needed # templates. |