summary refs log blame commit diff
path: root/pkgs/development/ruby-modules/gem-config/rdiscount-use-nixpkgs-libmarkdown.patch
blob: 3539b80ae374a22cdaa39c2169b44f54a5e32dc5 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14













                                                              
diff --git a/ext/extconf.rb b/ext/extconf.rb
index 30764cb..b87ac2b 100644
--- a/ext/extconf.rb
+++ b/ext/extconf.rb
@@ -46,4 +46,9 @@ if /mswin/.match RbConfig::CONFIG['host_os']
   $defs.push("-Dinline=__inline")
 end
 
+$srcs = %w[
+  rdiscount.c
+]
+have_library('markdown')
+
 create_makefile('rdiscount')