Skip to content

Commit

Permalink
Merge pull request pistacheio#1245 from dgreatwood/MakeDlLibraryDepen…
Browse files Browse the repository at this point in the history
…dency

Make dl library dependency
  • Loading branch information
kiplingw authored Sep 20, 2024
2 parents a450d5c + eb3a556 commit e07dc0b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,14 @@ if host_machine.system().endswith('bsd')
deps_libpistache += libexecinfo_dep
endif

# libdl may be required for function dladdr, used in logStackTrace,
# which is called by PS_LogWoBreak, used in turn by the stack-trace
# logging macro PS_LOG_WO_BREAK_LIMITED and its derivatives. Issue
# #1230.
# Note: If 'dl' is not available, per Meson it suggests that the
# functionality is provided by libc
deps_libpistache += dependency('dl', required: false)

version_array = []
if meson.version().version_compare('>=0.57.0')
version_array = fs.read('version.txt').strip().split('.')
Expand Down
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.4.5.20240918
0.4.6.20240919

0 comments on commit e07dc0b

Please sign in to comment.