cairo: restore reproducibility

libtool needs to be patched to not write rpath to targets
This commit is contained in:
Francis Lam 2018-11-24 09:12:41 -08:00
parent 760429601a
commit c559d71725
No known key found for this signature in database
GPG Key ID: 0A59C698920806EB

View File

@ -15,7 +15,13 @@ cairo_configure := \
--disable-xlib --disable-xcb --disable-pdf \
--disable-ps --disable-svg --disable-script \
--disable-ft --disable-fc --disable-pthread \
--disable-glib --disable-gobject
--disable-gobject \
&& sed \
-e 's/^hardcode_libdir_flag_spec.*/hardcode_libdir_flag_spec=" -D__LIBTOOL_RPATH_DISABLE__ "/' \
< libtool \
> libtool-2 \
&& mv libtool-2 libtool \
&& chmod 755 libtool
cairo_target := \
$(MAKE_JOBS) \