From 0bd07ea5431ff2dd475b73d534d0cef7a839df48 Mon Sep 17 00:00:00 2001 From: "Tristan B. Kildaire" Date: Tue, 19 Oct 2021 12:18:12 +0200 Subject: [PATCH] Fixed build system --- dub.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dub.json b/dub.json index cca6b8d..9c569c9 100644 --- a/dub.json +++ b/dub.json @@ -7,6 +7,6 @@ "license": "GPLv3", "name": "libtun", "targetType": "library", - "preBuildCommands": ["gcc source/libtun/tunctl.c -o tunctl.o -c"], - "lflags": ["tunctl.o"] + "preBuildCommands": ["gcc ~/.dub/packages/libtun*/libtun/source/libtun/tunctl.c -o ~/.dub/packages/libtun*/libtun/tunctl.o -c"], + "lflags": ["~/.dub/packages/libtun*/libtun/tunctl.o"] } \ No newline at end of file