Control: tags -1 patch

On Fri, Aug 17, 2018 at 07:21:39PM +0000, Santiago Vila wrote:
>...
> g++ -DHAVE_CONFIG_H -I.   -I. -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 
> -fdebug-prefix-map=/<<BUILDDIR>>/libfastahack-0.0+20160702=. 
> -fstack-protector-strong -Wformat -Werror=format-security -c -o FastaHack.o 
> FastaHack.cpp
> /bin/bash ./libtool  --tag=CXX   --mode=link g++  -g -O2 
> -fdebug-prefix-map=/<<BUILDDIR>>/libfastahack-0.0+20160702=. 
> -fstack-protector-strong -Wformat -Werror=format-security  -Wl,-z,relro 
> -Wl,-z,now -o fastahack FastaHack.o -lfastahack -ldisorder 
> libtool: link: g++ -g -O2 
> -fdebug-prefix-map=/<<BUILDDIR>>/libfastahack-0.0+20160702=. 
> -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z -Wl,relro 
> -Wl,-z -Wl,now -o fastahack FastaHack.o  -lfastahack -ldisorder
> /usr/bin/ld: cannot find -lfastahack
> collect2: error: ld returned 1 exit status
> make[2]: *** [Makefile:530: fastahack] Error 1
>...

A fix is attached.

With this fix the --no-parallel workaround can also be dropped.

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed

Description: Fix the Makefile dependencies
Author: Adrian Bunk <b...@debian.org>
Bug-Debian: https://bugs.debian.org/906481

--- libfastahack-0.0+git20160702.bbc645f+dfsg.orig/Makefile.am
+++ libfastahack-0.0+git20160702.bbc645f+dfsg/Makefile.am
@@ -9,7 +9,7 @@ libfastahack_la_CPPFLAGS = $(INCLUDES)
 
 bin_PROGRAMS = fastahack
 fastahack_SOURCES = FastaHack.cpp
-LDADD = -lfastahack -ldisorder
+LDADD = libfastahack.la -ldisorder
 
 pkgconfigdir=$(libdir)/pkgconfig
 pkgconfig_DATA = libfastahack.pc

Reply via email to