unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
blob d914537cff1bbb502e8dd85c1f9e764eed2d1b55 506 bytes (raw)
name: bindings/ruby/extconf.rb 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
 
#!/usr/bin/env ruby
# coding: utf-8
# Copyright 2010, 2011, 2012 Ali Polatel <alip@exherbo.org>
# Distributed under the terms of the GNU General Public License v3

require 'mkmf'

dir = File.join(ENV['NOTMUCH_SRCDIR'], 'lib')

# includes
$INCFLAGS = "-I#{dir} #{$INCFLAGS}"

if ENV['EXTRA_LDFLAGS']
  $LDFLAGS += " " + ENV['EXTRA_LDFLAGS']
end

if not ENV['LIBNOTMUCH']
  exit 1
end

$LOCAL_LIBS += ENV['LIBNOTMUCH']
$LIBS += " -ltalloc"

# Create Makefile
dir_config('notmuch')
create_makefile('notmuch')

debug log:

solving d914537c ...
found d914537c in https://yhetil.org/notmuch.git/

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).