Update to static link libdwarf and also add a note to the readme about licensing of the compiled binary
This commit is contained in:
parent
b4d8fda9e2
commit
be6f473007
@ -270,4 +270,7 @@ unwinding back-end, and the python script will check for an exact or near-match
|
|||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
The library is under the MIT license.
|
This library is under the MIT license.
|
||||||
|
|
||||||
|
Libdwarf is bundled as part of this library so the code in `bundled/libdwarf` is LGPL. If this library is statically
|
||||||
|
linked with libdwarf then the library's binary will itself be LGPL.
|
||||||
|
|||||||
2
bundled/libdwarf/CMakeLists.txt
vendored
2
bundled/libdwarf/CMakeLists.txt
vendored
@ -426,7 +426,7 @@ set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)
|
|||||||
|
|
||||||
include(GNUInstallDirs)
|
include(GNUInstallDirs)
|
||||||
|
|
||||||
add_library(dwarf SHARED ${libdwarf_sources} ${libdwarf_headers})
|
add_library(dwarf STATIC ${libdwarf_sources} ${libdwarf_headers})
|
||||||
|
|
||||||
target_compile_definitions(dwarf PUBLIC LIBDWARF_BUILD)
|
target_compile_definitions(dwarf PUBLIC LIBDWARF_BUILD)
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user