aboutsummaryrefslogtreecommitdiff
path: root/compile
diff options
context:
space:
mode:
authorGravatar Michael Smith <mikesmiffy128@gmail.com> 2024-09-26 21:02:12 +0100
committerGravatar Michael Smith <mikesmiffy128@gmail.com> 2024-09-28 18:28:13 +0100
commit3503fa80c02e19a718245f92eba31f6b0a5cf45c (patch)
treee1e1d5913d4cf3ddb07dff7f42c5176447daa5d2 /compile
parentbc9198ba9b654117118a06399d4dbf273262501d (diff)
downloadsst-3503fa80c02e19a718245f92eba31f6b0a5cf45c.tar.gz
sst-3503fa80c02e19a718245f92eba31f6b0a5cf45c.zip
Enable rebuilding the plugin while it is loaded
Diffstat (limited to 'compile')
-rwxr-xr-xcompile3
1 files changed, 2 insertions, 1 deletions
diff --git a/compile b/compile
index 9045f53..31e4b8f 100755
--- a/compile
+++ b/compile
@@ -46,7 +46,8 @@ cc() {
ld() {
$CC -shared -flto -fpic -fuse-ld=lld $ldflags -L.build -ldl \
- -ltier0 -lvstdlib -o sst.so$objs
+ -ltier0 -lvstdlib -o .build/sst.so$objs
+ mv .build/sst.so sst.so
}
src="\