Add HB_NO_OEPN (#1767)

diff --git a/src/hb-blob.cc b/src/hb-blob.cc
index 5783fb2..0c562b7 100644
--- a/src/hb-blob.cc
+++ b/src/hb-blob.cc
@@ -543,6 +543,9 @@
 hb_blob_t *
 hb_blob_create_from_file (const char *file_name)
 {
+#ifdef HB_NO_OEPN
+  return hb_blob_get_empty ();
+#endif
   /* Adopted from glib's gmappedfile.c with Matthias Clasen and
      Allison Lortie permission but changed a lot to suit our need. */
 #if defined(HAVE_MMAP) && !defined(HB_NO_MMAP)
diff --git a/src/hb-config.hh b/src/hb-config.hh
index bcce159..19ceed8 100644
--- a/src/hb-config.hh
+++ b/src/hb-config.hh
@@ -60,7 +60,9 @@
 #define HB_NO_GETENV
 #define HB_NO_LAYOUT_UNUSED
 #define HB_NO_MATH
+#define HB_NO_MMAP
 #define HB_NO_NAME
+#define HB_NO_OEPN
 #define HB_NO_SETLOCALE
 #define HB_NO_SUBSET_LAYOUT
 #endif