diff --git a/src/hb-ot-shape.cc b/src/hb-ot-shape.cc index 007fae8fa..c659f28ca 100644 --- a/src/hb-ot-shape.cc +++ b/src/hb-ot-shape.cc @@ -30,6 +30,10 @@ #ifndef HB_NO_OT_SHAPE +#ifdef HB_NO_OT_LAYOUT +#error "Cannot compile 'ot' shaper with HB_NO_OT_LAYOUT." +#endif + #include "hb-shaper-impl.hh" #include "hb-ot-shape.hh"