summaryrefslogtreecommitdiff
path: root/cppbuild.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2021-06-13 19:00:13 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2021-06-13 19:00:13 +0200
commit4f923fbdace27f27421bf18dfc9655b73bd68929 (patch)
tree7bfe332416020e9e70d807b7ca9b7b3c59bb8f1e /cppbuild.cc
parent19195e2bbdcd7a0db8f84732ce54b1c9d07c006c (diff)
Move execution code into its own function and use from all tasks.
Diffstat (limited to 'cppbuild.cc')
-rw-r--r--cppbuild.cc8
1 files changed, 7 insertions, 1 deletions
diff --git a/cppbuild.cc b/cppbuild.cc
index ae6fd8d..3604260 100644
--- a/cppbuild.cc
+++ b/cppbuild.cc
@@ -161,6 +161,12 @@ BuildConfiguration configs()
},
// linker flags
- "-lm -lX11 -lXext -pthread -lsndfile",
+ {
+ "-lm",
+ "-lX11",
+ "-lXext",
+ "-pthread",
+ "-lsndfile",
+ }
};
}