File: ruby-extconf

package info (click to toggle)
stfl 0.22-3
  • links: PTS
  • area: main
  • in suites: bookworm
  • size: 408 kB
  • sloc: ansic: 3,344; makefile: 109; perl: 95; ruby: 83; python: 73
file content (12 lines) | stat: -rw-r--r-- 346 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
Description: Fix ruby/extconf.rb
 Fixed extconf.rb to actually create a useable makefile.
Author: Christian Hofstaedtler <zeha@debian.org>

--- stfl-0.22.orig/ruby/extconf.rb
+++ stfl-0.22/ruby/extconf.rb
@@ -1,2 +1,5 @@
 require 'mkmf'
+`swig -ruby stfl.i`
+$LIBS << " ../libstfl.a -lncursesw"
+$CFLAGS << " -I.. -fPIC"
 create_makefile('stfl')