summaryrefslogtreecommitdiffstats
path: root/remote/modules/run-virt/module.build
diff options
context:
space:
mode:
Diffstat (limited to 'remote/modules/run-virt/module.build')
-rw-r--r--remote/modules/run-virt/module.build3
1 files changed, 3 insertions, 0 deletions
diff --git a/remote/modules/run-virt/module.build b/remote/modules/run-virt/module.build
index 26762bca..e9b0d581 100644
--- a/remote/modules/run-virt/module.build
+++ b/remote/modules/run-virt/module.build
@@ -8,6 +8,9 @@ build () {
rm -f -- "$COPYLIST"
list_packet_files > "$COPYLIST"
tarcopy "$(cat "$COPYLIST" | sort -u)" "${MODULE_BUILD_DIR}"
+ # Compile pwdaemon
+ mkdir -p "${MODULE_BUILD_DIR}/opt/openslx/bin"
+ gcc -std=gnu99 -o "${MODULE_BUILD_DIR}/opt/openslx/bin/pwdaemon" -Os "${MODULE_DIR}/pw_daemon.c" || perror "Could not compile the pwdaemon"
}
post_copy() {