1
0
mirror of https://github.com/YosysHQ/nextpnr.git synced 2026-04-24 19:40:12 +00:00

gowin: Himbaechel. Support DragonFlyBSD

Signed-off-by: YRabbit <rabbit@yrabbit.cyou>
This commit is contained in:
YRabbit
2023-09-16 13:01:53 +10:00
committed by myrtle
parent 165e89f49a
commit 8a54e5ec1c

View File

@@ -243,7 +243,7 @@ CommandHandler::CommandHandler(int argc, char **argv) : argc(argc), argv(argv)
}
log_streams.clear();
#if defined(__OpenBSD__)
#if defined(__OpenBSD__) || defined(__DragonFly__)
// save the executable origin for proc_self_dirname()
npnr_argv0 = argv[0];
realpath(npnr_argv0, npnr_path);