Group :: Sistema/Bibliotecas
RPM: libgdk-pixbuf
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Patch: gdk-pixbuf-2.37.92-alt-compat-version-script.patch
Download
Download
--- gdk-pixbuf-2.37.92/gdk-pixbuf/meson.build.alt 2018-08-22 14:49:25.000000000 +0300
+++ gdk-pixbuf-2.37.92/gdk-pixbuf/meson.build 2018-08-22 15:45:10.800443885 +0300
@@ -157,6 +157,12 @@
endif
endif
+compat_map = 'compat.map'
+compat_lds = 'compat.lds'
+compat_map_flag = '-Wl,--version-script,@0@/@1@'.format(meson.current_source_dir(), compat_map)
+compat_lds_flag = '-Wl,@0@/@1@'.format(meson.current_source_dir(), compat_lds)
+compat_ldflags = [ compat_map_flag, compat_lds_flag, ]
+
# The main gdk-pixbuf shared library
gdkpixbuf = library('gdk_pixbuf-2.0',
sources: [
@@ -169,7 +175,8 @@
soversion: soversion,
version: libversion,
c_args: common_cflags + gdk_pixbuf_cflags + included_loaders_cflags,
- link_args: common_ldflags,
+ link_args: common_ldflags + [ compat_ldflags ],
+ link_depends: [ compat_map, compat_lds, ],
include_directories: [
root_inc,
include_directories('pixops'),