Enable shared libs on OpenBSD
[ghc-hetmet.git] / compiler / HsVersions.h
index ad17189..4d8e521 100644 (file)
@@ -17,7 +17,7 @@ you will screw up the layout where they are used in case expressions!
 #include "ghc_boot_platform.h"
 
 /* This macro indicates that the target OS supports ELF-like shared libraries */
-#if linux_TARGET_OS || freebsd_TARGET_OS
+#if linux_TARGET_OS || freebsd_TARGET_OS || openbsd_TARGET_OS
 #define elf_OBJ_FORMAT 1
 #endif