aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Junghans <christoph.junghans@gmail.com>2015-01-13 17:01:34 -0700
committerChristoph Junghans <christoph.junghans@gmail.com>2015-01-13 17:01:34 -0700
commit5a27001c95a180702164a00d1dc80c8164fc7d86 (patch)
tree11ce695cbfbc55addf2a382a49cf575190cb5bfc /sci-misc/kaldi/files/default_rules.mk.patch
parentMerge pull request #336 from marbre/mendeleydesktop (diff)
parentsci-misc/kaldi: Comment about special case with upstream configure script (diff)
downloadsci-5a27001c95a180702164a00d1dc80c8164fc7d86.tar.gz
sci-5a27001c95a180702164a00d1dc80c8164fc7d86.tar.bz2
sci-5a27001c95a180702164a00d1dc80c8164fc7d86.zip
Merge pull request #332 from akreal/kaldi
sci-misc/kaldi: New package
Diffstat (limited to 'sci-misc/kaldi/files/default_rules.mk.patch')
-rw-r--r--sci-misc/kaldi/files/default_rules.mk.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/sci-misc/kaldi/files/default_rules.mk.patch b/sci-misc/kaldi/files/default_rules.mk.patch
new file mode 100644
index 000000000..26c7f3616
--- /dev/null
+++ b/sci-misc/kaldi/files/default_rules.mk.patch
@@ -0,0 +1,20 @@
+--- makefiles/default_rules.mk.orig 2015-01-10 19:56:03.918751769 -0400
++++ makefiles/default_rules.mk 2015-01-11 13:34:14.596055674 -0400
+@@ -14,7 +14,7 @@
+ LIBFILE = lib$(LIBNAME).so
+ #LDLIBS += -l$(LIBNAME)
+ endif
+- LDFLAGS += -Wl,-rpath=$(shell readlink -f $(KALDILIBDIR)) -L.
++ LDFLAGS += -L.
+ LDFLAGS += $(foreach dep,$(ADDLIBS), -L$(dir $(dep)) )
+ XDEPENDS = $(foreach dep,$(ADDLIBS), $(dir $(dep))/lib$(notdir $(basename $(dep))).so )
+ else # Platform not supported
+@@ -84,3 +84,8 @@
+ #.depend.mk: depend
+ -include .depend.mk
+
++print-binfiles:
++ @echo $(addprefix $(shell pwd)/, $(BINFILES))
++
++print-libfiles:
++ @echo $(addsuffix .so, $(addprefix $(shell pwd)/lib, $(LIBNAME)))