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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user