mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-09-21 13:41:20 +02:00
This fixes the build, where backtrace_symbols was being used. This also adds two patches, the larger one was submitted upstream but hasn't been accepted yet. They are required for supporting the Librem 5 camera.
16 lines
533 B
Diff
16 lines
533 B
Diff
diff --git a/src/libcamera/base/meson.build b/src/libcamera/base/meson.build
|
|
index 05fed7ac..aab6d1bc 100644
|
|
--- a/src/libcamera/base/meson.build
|
|
+++ b/src/libcamera/base/meson.build
|
|
@@ -22,9 +22,7 @@ libcamera_base_sources = files([
|
|
libdw = cc.find_library('libdw', required : false)
|
|
libunwind = cc.find_library('libunwind', required : false)
|
|
|
|
-if cc.has_header_symbol('execinfo.h', 'backtrace')
|
|
- config_h.set('HAVE_BACKTRACE', 1)
|
|
-endif
|
|
+config_h.set('HAVE_BACKTRACE', 0)
|
|
|
|
if libdw.found()
|
|
config_h.set('HAVE_DW', 1)
|