Apply feedback from Colin Clark
authorThomas Klausner <wiz@gatalith.at>
Sun, 18 Jun 2023 16:10:20 +0000 (18:10 +0200)
committerColin Clark <colin.clark@cclark.uk>
Mon, 19 Jun 2023 08:36:25 +0000 (09:36 +0100)
meson.build

index 2bcaf71..1fdab92 100644 (file)
@@ -187,9 +187,11 @@ endif
 
 # Required only for seg. fault stacktrace and backtrace debugging
 option = get_option('execinfo')
+libexecinfo_dep = []
 if not option.disabled()
     result = cc.check_header('execinfo.h')
     if result
+        # Include unconditionally dependency for NetBSD.
         libexecinfo_dep = cc.find_library('execinfo', required : false)
         conf_data.set('HAVE_EXECINFO_H', 1)
         summary({'execinfo' : ['stacktrace supported:', true]}, section : 'Debugging', bool_yn : true)