File: extconf.rb

package info (click to toggle)
ffindex 0.9.9.9-7
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 496 kB
  • sloc: ansic: 2,382; makefile: 163; perl: 86; python: 56; sh: 21; ruby: 6
file content (16 lines) | stat: -rw-r--r-- 312 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Loads mkmf which is used to make makefiles for Ruby extensions
require 'mkmf'

LIB_DIRS = ["../src"]

# Give it a name
extension_name = 'ffindex'

# The destination
dir_config(extension_name, "../src", "../src")

find_library('ffindex', 'ffindex_index_db_open')

# Do the work
create_makefile(extension_name)