envision-unwrapped: 0-unstable-2024-10-20 -> 1.1.1 (#360652)
[NixPkgs.git] / pkgs / development / ruby-modules / gem-config / rdiscount-use-nixpkgs-libmarkdown.patch
blob3539b80ae374a22cdaa39c2169b44f54a5e32dc5
1 diff --git a/ext/extconf.rb b/ext/extconf.rb
2 index 30764cb..b87ac2b 100644
3 --- a/ext/extconf.rb
4 +++ b/ext/extconf.rb
5 @@ -46,4 +46,9 @@ if /mswin/.match RbConfig::CONFIG['host_os']
6 $defs.push("-Dinline=__inline")
7 end
9 +$srcs = %w[
10 + rdiscount.c
12 +have_library('markdown')
14 create_makefile('rdiscount')