mirror of
https://github.com/harfbuzz/harfbuzz.git
synced 2025-04-14 17:13:40 +00:00
Allow libharfbuzz-subset to link to libstdc++
We want to use it instead of reinventing hashmap... Also, don't change linker for ICU since libicu also uses libstdc++.
This commit is contained in:
parent
4af3c5e258
commit
42040a273f
2 changed files with 2 additions and 3 deletions
|
@ -154,7 +154,6 @@ pkgconfig_DATA = harfbuzz.pc
|
|||
EXTRA_DIST += harfbuzz.pc.in
|
||||
|
||||
lib_LTLIBRARIES += libharfbuzz-subset.la
|
||||
libharfbuzz_subset_la_LINK = $(chosen_linker) $(libharfbuzz_subset_la_LDFLAGS)
|
||||
libharfbuzz_subset_la_SOURCES = $(HB_SUBSET_sources)
|
||||
libharfbuzz_subset_la_CPPFLAGS = $(libharfbuzz_la_CPPFLAGS)
|
||||
libharfbuzz_subset_la_LDFLAGS = $(base_link_flags) $(export_symbols_subset)
|
||||
|
@ -192,7 +191,6 @@ HBSOURCES += $(HB_ICU_sources)
|
|||
HBHEADERS += $(HB_ICU_headers)
|
||||
else
|
||||
lib_LTLIBRARIES += libharfbuzz-icu.la
|
||||
libharfbuzz_icu_la_LINK = $(chosen_linker) $(libharfbuzz_icu_la_LDFLAGS)
|
||||
libharfbuzz_icu_la_SOURCES = $(HB_ICU_sources)
|
||||
libharfbuzz_icu_la_CPPFLAGS = $(libharfbuzz_la_CPPFLAGS) $(ICU_CFLAGS)
|
||||
libharfbuzz_icu_la_LDFLAGS = $(base_link_flags) $(export_symbols_icu)
|
||||
|
|
|
@ -22,7 +22,8 @@ fi
|
|||
|
||||
tested=false
|
||||
# harfbuzz-icu links to libstdc++ because icu does.
|
||||
for soname in harfbuzz harfbuzz-subset harfbuzz-gobject; do
|
||||
# harfbuzz-subset uses libstdc++.
|
||||
for soname in harfbuzz harfbuzz-gobject; do
|
||||
for suffix in so dylib; do
|
||||
so=$libs/lib$soname.$suffix
|
||||
if ! test -f "$so"; then continue; fi
|
||||
|
|
Loading…
Add table
Reference in a new issue