From fe3d45c37a830d152087b9a645f4c86b45648188 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Tue, 17 Sep 2024 16:23:55 -0400 Subject: Handle subdirectories within libraries --- tomo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tomo.c b/tomo.c index aa93b492..104f2760 100644 --- a/tomo.c +++ b/tomo.c @@ -304,7 +304,7 @@ void build_library(const char *lib_base_name) if (!streq(library_directory, dest)) { system(heap_strf("rm -rvf '%s'", dest)); system(heap_strf("mkdir -p '%s'", dest)); - system(heap_strf("install -v * '%s/'", dest)); + system(heap_strf("cp -rv * '%s/'", dest)); } system("mkdir -p ~/.local/share/tomo/lib/"); system(heap_strf("ln -fv -s ../installed/'%s'/lib%s.so ~/.local/share/tomo/lib/lib%s.so", lib_base_name, libname, libname)); -- cgit v1.2.3