From a1d115640725f36f5fc9282091c1017c443be0ad Mon Sep 17 00:00:00 2001 From: Kevin Zheng Date: Tue, 13 Oct 2020 10:15:17 -0700 Subject: [PATCH] Add -lexecinfo for BSD --- src/lay/lay/lay.pro | 4 ++++ src/tl/tl.pro | 3 +++ 2 files changed, 7 insertions(+) diff --git a/src/lay/lay/lay.pro b/src/lay/lay/lay.pro index cfb7e9c75..0fd1f6a7b 100644 --- a/src/lay/lay/lay.pro +++ b/src/lay/lay/lay.pro @@ -179,6 +179,10 @@ win32 { LIBS += -lpsapi -ldbghelp } +*bsd* { + LIBS += -lexecinfo +} + # Note: this accounts for UI-generated headers placed into the output folders in # shadow builds: INCLUDEPATH += $$DESTDIR/laybasic/laybasic diff --git a/src/tl/tl.pro b/src/tl/tl.pro index 841b38262..b85db09a0 100644 --- a/src/tl/tl.pro +++ b/src/tl/tl.pro @@ -1,6 +1,9 @@ TEMPLATE = subdirs SUBDIRS = tl unit_tests +*bsd* { + LIBS += -lexecinfo +} unit_tests.depends += tl