From c63a1632dc9f32e35e37ddebfaaafe0e7c692709 Mon Sep 17 00:00:00 2001 From: Leland Lucius Date: Wed, 26 Feb 2020 01:58:53 -0600 Subject: [PATCH] Don't assume in-tree LV2 libs will be used Don't try to install suil UI modules if the local libs weren't used. --- Makefile.am | 2 +- Makefile.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.am b/Makefile.am index 4ca23b750..42c683560 100644 --- a/Makefile.am +++ b/Makefile.am @@ -8,7 +8,7 @@ dist_doc_DATA = LICENSE.txt README.txt dist_pkgdata_DATA = presets/EQDefaultCurves.xml suillibdir = $(pkglibdir) -suillib_DATA = $(shell find lib-src/lv2/build -name \*.so) +suillib_DATA = $(shell [ -e lib-src/lv2/build ] && find lib-src/lv2/build -name \*.so) nobase_dist_pkgdata_DATA = \ include/audacity/ComponentInterface.h \ diff --git a/Makefile.in b/Makefile.in index 1a014e55f..bac385468 100644 --- a/Makefile.in +++ b/Makefile.in @@ -527,7 +527,7 @@ bin_PROGRAMS = audacity$(EXEEXT) dist_doc_DATA = LICENSE.txt README.txt dist_pkgdata_DATA = presets/EQDefaultCurves.xml suillibdir = $(pkglibdir) -suillib_DATA = $(shell find lib-src/lv2/build -name \*.so) +suillib_DATA = $(shell [ -e lib-src/lv2/build ] && find lib-src/lv2/build -name \*.so) nobase_dist_pkgdata_DATA = \ include/audacity/ComponentInterface.h \ include/audacity/ConfigInterface.h \