/[packages]/cauldron/ruby-glib2/current/SOURCES/no-undefined.patch
ViewVC logotype

Contents of /cauldron/ruby-glib2/current/SOURCES/no-undefined.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1784866 - (show annotations) (download)
Fri Feb 25 20:20:25 2022 UTC (2 years, 4 months ago) by pterjan
File size: 453 byte(s)
Fix build of modules depending on each other
1 --- glib2-3.5.1/lib/mkmf-gnome.rb 2022-02-25 20:14:48.872598089 +0000
2 +++ glib2-3.5.1/lib/mkmf-gnome.rb 2022-02-25 20:17:59.649196488 +0000
3 @@ -103,8 +103,8 @@
4 try_compiler_option '-Wunsafe-loop-optimizations'
5 try_compiler_option '-Wwrite-strings'
6
7 -if /-Wl,--no-undefined/ =~ $LDFLAGS.to_s
8 - $LDFLAGS.gsub!(/-Wl,--no-undefined/, '')
9 +if /-Wl,--no-undefined/ =~ $DLDFLAGS.to_s
10 + $DLDFLAGS.gsub!(/-Wl,--no-undefined/, '')
11 end
12
13 include_path = nil

  ViewVC Help
Powered by ViewVC 1.1.30