Skip to content

Commit 3854355

Browse files
author
niamtokik
committed
add openbsd support
1 parent a120d59 commit 3854355

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/pc_port_env.erl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,9 @@ default_env() ->
303303
lists:concat([" /LIBPATH:$ERL_EI_LIBDIR "] ++
304304
[EiLib++".lib " || EiLib <- ErlInterfaceLibs])},
305305
{"win32", "DRV_CFLAGS", "/Zi /Wall $ERL_CFLAGS"},
306-
{"win32", "DRV_LDFLAGS", "/DLL $ERL_LDFLAGS"}
306+
{"win32", "DRV_LDFLAGS", "/DLL $ERL_LDFLAGS"},
307+
308+
{"openbsd", "CXX", "c++"}
307309
].
308310

309311
get_tool(Arch, Tool, Default) ->

0 commit comments

Comments
 (0)