Link API test programs with C++ linker
Needed to make ubsan work. Fixes https://github.com/harfbuzz/harfbuzz/issues/1174
This commit is contained in:
parent
a96508cfc9
commit
d07f3111b4
|
@ -16,6 +16,8 @@ EXTRA_DIST += CMakeLists.txt
|
||||||
|
|
||||||
EXTRA_DIST += fonts
|
EXTRA_DIST += fonts
|
||||||
|
|
||||||
|
LINK = $(CXXLINK)
|
||||||
|
|
||||||
if HAVE_GLIB
|
if HAVE_GLIB
|
||||||
AM_CPPFLAGS = -DSRCDIR="\"$(srcdir)\"" -I$(top_srcdir)/src/ -I$(top_builddir)/src/ $(GLIB_CFLAGS)
|
AM_CPPFLAGS = -DSRCDIR="\"$(srcdir)\"" -I$(top_srcdir)/src/ -I$(top_builddir)/src/ $(GLIB_CFLAGS)
|
||||||
LDADD = $(top_builddir)/src/libharfbuzz.la $(GLIB_LIBS)
|
LDADD = $(top_builddir)/src/libharfbuzz.la $(GLIB_LIBS)
|
||||||
|
|
Loading…
Reference in New Issue