Regression when building static libraries with MSVC

Thore Karlsen <sid-m3MN3Z/L/[email protected]> Mon, 15 Aug 2005 12:02:17 -0500
Newsgroups gmane.comp.tools.aap.devel
Organization I've resigned.
Message-ID <[email protected]>
I just upgraded from 1.74 to 1.77, and my build broke. The problem seems
to be that in msvc.py, these lines:

    scope["BUILDLIB_ACTION"] = "build_msvc_lib"
    scope["BUILDDLL_ACTION"] = "build_msvc_dll"

Have been replaced with these lines:

    scope["C_BUILDLIB_ACTION"] = "build_msvc_lib"
    scope["C_BUILDDLL_ACTION"] = "build_msvc_dll"
    scope["CXX_BUILDLIB_ACTION"] = "build_msvc_lib"
    scope["CXX_BUILDDLL_ACTION"] = "build_msvc_dll"

I'm not sure why these lines were added, but now when I have a :lib
command, my source files are compiled to object files instead of
libobject files, and the link fails.

I tried searching through the AAP source for CXX_BUILDLIB_ACTION and
C_BUILDLIB_ACTION, but I didn't see those variables reference anywhere.

If I put the file back to the way it was, everything builds fine.

-- 
Be seeing you.



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf