Control: tags -1 patch

Dear maintainer,

On Fri, 17 Aug 2018 11:19:34 +0000 Santiago Vila <sanv...@debian.org> wrote:
> Dear maintainer:
> 
> I tried to build this package in buster but it failed:

> [...]> Making all in src
> make[3]: Entering directory '/<<PKGBUILDDIR>>/src'
> gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include  -Wdate-time 
> -D_FORTIFY_SOURCE=2 -DSCM_DIR="\"/usr/share/elk\"" 
> -DLIB_DIR="\"/usr/lib/x86_64-linux-gnu/elk\""  -Wpointer-arith -Wcast-align 
> -Wcast-qual -Wshadow -Wmissing-prototypes -Wnested-externs -Wsign-compare 
> -Wall -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -Wformat -Werror=format-security -c -o main.o main.c
> make[3]: *** No rule to make target '../src/libelk.la', needed by 'elk'.  
> Stop.

I managed to fix the build simplifying src/Makefile.am:
-elk_LDADD = $(top_builddir)/src/libelk.la
+elk_LDADD = libelk.la

Why this helps is still a mystery to me :)


Cheers,
Juhani
Description: Fix "No rule to make target '../src/libelk.la', needed by 'elk'."
Author: Juhani Numminen <juhaninummin...@gmail.com>
Bug-Debian: https://bugs.debian.org/906353
Forwarded: no
Last-Update: 2018-09-02

--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -66,7 +66,7 @@
 	$(NULL)
 
 bin_PROGRAMS = elk
-elk_LDADD = $(top_builddir)/src/libelk.la
+elk_LDADD = libelk.la
 elk_SOURCES = main.c
 
 install-exec-hook:

Reply via email to