head 1.1; access; symbols; locks; strict; comment @# @; 1.1 date 2026.06.02.22.52.39; author mef; state Exp; branches; next ; commitid YZquPWsmChkdfhIG; desc @@ 1.1 log @(time/R-nanotime) Fix build against R 4.6.0 @ text @$NetBSD: patch-src_Makevars,v 1.1 2026/05/26 21:19:47 mef Exp $ symbol backtrace_symbols is defined in /usr/lib/libexecinfo --- src/Makevars.orig 2024-06-17 19:54:52.000000000 +0900 +++ src/Makevars 2026-06-03 07:48:22.110859722 +0900 @@@@ -3,3 +3,10 @@@@ CXX_STD = CXX17 ## We need headers from our package, the directory is not automatically included PKG_CXXFLAGS = -I../inst/include + +UNAME := $(shell uname) + +ifneq ($(UNAME), Linux) +PKG_LIBS += -lexecinfo +endif + @