CVSROOT:        /cvsroot
Module name:    pgsql-server
Changes by:     [EMAIL PROTECTED]       04/03/09 00:53:37

Modified files:
        src/interfaces/libpq: win32.mak 
Added files:
        src/interfaces/libpq: libpqddll.def 

Log message:
        Make a separate win32 debug DLL along with the non-debug version:
        
        Currently, src/interfaces/libpq/win32.mak builds a statically-linked
        library "libpq.lib", a debug dll "libpq.dll", import library for the
        debug dll "libpqdll.lib", a release dll "libpq.dll", import library for
        the release dll "libpqdll.lib".  To avoid naming clashes, I would make
        the debug dll and import libraries "libpqd.dll" and "libpqddll.lib".
        
        Basically, the debug build uses the cl flags: "/MDd /D _DEBUG", and the
        release build uses the cl flags "/MD /D NDEBUG".  Usually the debug
        build has a "D" suffix on the file name, so for example:
        
        libpqd.dll     libpq, debug build
        libpqd.lib     libpq, debug build, import library
        libpq.dll      libpq, release build
        libpq.lib      libpq, release build, import library
        
        David Turner


---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
      subscribe-nomail command to [EMAIL PROTECTED] so that your
      message can get through to the mailing list cleanly

Reply via email to