[pcre-dev] [Bug 2600] New: [PATCH] Fix postfix for debug Win…

Pàgina inicial
Delete this message
Autor: admin
Data:  
A: pcre-dev
Assumpte: [pcre-dev] [Bug 2600] New: [PATCH] Fix postfix for debug Windows builds
https://bugs.exim.org/show_bug.cgi?id=2600

            Bug ID: 2600
           Summary: [PATCH] Fix postfix for debug Windows builds
           Product: PCRE
           Version: 10.35 (PCRE2)
          Hardware: All
                OS: Windows
            Status: NEW
          Severity: bug
          Priority: medium
         Component: Code
          Assignee: ph10@???
          Reporter: c72578@???
                CC: pcre-dev@???


Created attachment 1316
--> https://bugs.exim.org/attachment.cgi?id=1316&action=edit
PCRE2: Fix postfix for debug Windows builds

CMakeLists.txt uses set(CMAKE_DEBUG_POSTFIX "d") under Windows
to distinguish between debug and release lib. Use this postfix also
in the generated libpcre2*.pc files and pcre2-config in case of a
CMake Debug build.
This results in the following contents of e.g. libpcre2-8.pc
- Release:
Libs: -L${libdir} -lpcre2-8
- Debug:
Libs: -L${libdir} -lpcre2-8d

Remark: The following code had to be moved up in CMakeLists.txt,
before generating the pkg-config files:
SET(CMAKE_DEBUG_POSTFIX "d")

--
You are receiving this mail because:
You are on the CC list for the bug.