[subset] Remove HB_SUBSET_BUILTIN

Just include hb-static.cc in libharfbuzz-subset.so source list as
well.  Those building it built-in will include hb-static.cc once
already.  No need for any gymnastics.
pull/1062/head
Behdad Esfahbod 7 years ago
parent ba0ea56efa
commit cc0b04f48f
  1. 1
      src/Makefile.sources
  2. 5
      src/hb-subset.cc

@ -203,6 +203,7 @@ HB_ICU_headers = hb-icu.h
# Sources for libharfbuzz-subset
HB_SUBSET_sources = \
hb-static.cc \
hb-subset.cc \
hb-subset-glyf.cc \
hb-subset-input.cc \

@ -44,11 +44,6 @@
#include "hb-ot-post-table.hh"
#if !defined(HB_SUBSET_BUILTIN)
#include "hb-static.cc"
#endif
struct hb_subset_profile_t {
hb_object_header_t header;
ASSERT_POD ();

Loading…
Cancel
Save