Index: cli/build.rs
--- cli/build.rs.orig
+++ cli/build.rs
@@ -415,6 +415,13 @@ fn main() {
     symbols_path.display()
   );
 
+  
+  #[cfg(target_os = "openbsd")]
+  println!(
+    "cargo:rustc-link-arg-bin=deno=-Wl,--export-dynamic-symbol={}",
+    symbols_path.display()
+  );
+
   #[cfg(target_os = "linux")]
   {
     // If a custom compiler is set, the glibc version is not reliable.
