From 097738cf64d37aa3513fb0ea8ea0c07ee4f1e231 Mon Sep 17 00:00:00 2001 From: Venelin Date: Wed, 6 Mar 2024 15:23:33 +0200 Subject: [PATCH] ar create archive --- install.sh | 2 +- todo.txt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index df93cac..f02a5cf 100755 --- a/install.sh +++ b/install.sh @@ -9,7 +9,7 @@ options="-std=c++17 -Ofast -flto -march=native -DNDEBUG -Wall -Wextra -Wno-paren g++ -c $options commands.cpp childProcess.cpp # Create lib -ar r libcppipe.a commands.o childProcess.o +ar rc libcppipe.a commands.o childProcess.o mv libcppipe.a ${PREFIX}/lib rm commands.o childProcess.o diff --git a/todo.txt b/todo.txt index 25f3497..8f296b2 100644 --- a/todo.txt +++ b/todo.txt @@ -8,3 +8,4 @@ close files on destruction make portable shaded obj uninstall +throw when a command couldnt be ran