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