mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-25 04:18:08 +01:00
53035dafe0
In particular this is supposed to help build on systems (presumably using a non-gnu ld) where this flag is not available.
20 lines
515 B
Makefile
20 lines
515 B
Makefile
# -*- makefile -*-
|
|
|
|
dir := bindings
|
|
|
|
# force the shared library to be built
|
|
ruby-bindings: lib/libnotmuch.so
|
|
ifeq ($(HAVE_RUBY_DEV),1)
|
|
cd $(dir)/ruby && \
|
|
EXTRA_LDFLAGS="$(NO_UNDEFINED_LDFLAGS)" \
|
|
ruby extconf.rb --vendor
|
|
$(MAKE) -C $(dir)/ruby
|
|
else
|
|
@echo Missing dependency, skipping ruby bindings
|
|
endif
|
|
|
|
CLEAN += $(patsubst %,$(dir)/ruby/%, \
|
|
.RUBYARCHDIR.time \
|
|
Makefile database.o directory.o filenames.o\
|
|
init.o message.o messages.o mkmf.log notmuch.so query.o \
|
|
status.o tags.o thread.o threads.o)
|