Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
G
glog
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
glog
Commits
d354e2e8
Commit
d354e2e8
authored
Sep 01, 2017
by
NeroBurner
Committed by
NeroBurner
Jun 01, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mingw-w64: fix dbghelp on case sensitive systems
- fix dbhelp.h include - fix dbghelp check and link
parent
06a8ee09
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
CMakeLists.txt
CMakeLists.txt
+2
-2
demangle.cc
src/demangle.cc
+2
-2
symbolize.cc
src/symbolize.cc
+2
-2
No files found.
CMakeLists.txt
View file @
d354e2e8
...
...
@@ -115,7 +115,7 @@ check_cxx_compiler_flag (-Wunnamed-type-template-args
check_symbol_exists
(
snprintf stdio.h HAVE_SNPRINTF
)
check_library_exists
(
unwind get_static_proc_name
""
HAVE_LIB_UNWIND
)
check_library_exists
(
DbgH
elp UnDecorateSymbolName
""
HAVE_DBGHELP
)
check_library_exists
(
dbgh
elp UnDecorateSymbolName
""
HAVE_DBGHELP
)
find_library
(
UNWIND_LIBRARY NAMES unwind DOC
"unwind library"
)
mark_as_advanced
(
UNWIND_LIBRARY
)
...
...
@@ -456,7 +456,7 @@ if (UNWIND_LIBRARY)
endif (UNWIND_LIBRARY)
if (HAVE_DBGHELP)
target_link_libraries (glog PUBLIC
DbgH
elp)
target_link_libraries (glog PUBLIC
dbgh
elp)
endif (HAVE_DBGHELP)
if (HAVE_PTHREAD)
...
...
src/demangle.cc
View file @
d354e2e8
...
...
@@ -39,8 +39,8 @@
#include "demangle.h"
#if defined(OS_WINDOWS)
#include <
DbgH
elp.h>
#pragma comment(lib, "
DbgH
elp")
#include <
dbgh
elp.h>
#pragma comment(lib, "
dbgh
elp")
#endif
_START_GOOGLE_NAMESPACE_
...
...
src/symbolize.cc
View file @
d354e2e8
...
...
@@ -847,10 +847,10 @@ _END_GOOGLE_NAMESPACE_
#elif defined(OS_WINDOWS) || defined(OS_CYGWIN)
#include <windows.h>
#include <
DbgH
elp.h>
#include <
dbgh
elp.h>
#ifdef _MSC_VER
#pragma comment(lib, "
DbgH
elp")
#pragma comment(lib, "
dbgh
elp")
#endif
_START_GOOGLE_NAMESPACE_
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment