Control: tags -1 patch
On Fri, Aug 17, 2018 at 07:21:35PM +0000, Santiago Vila wrote:
>...
> gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../include -Wdate-time
> -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=.
> -fstack-protector-strong -Wformat -Werror=format-security -W -Wall
> -Wformat-security -Wshadow -Wcast-align -Wpointer-arith
> -Wmissing-format-attribute -g -c -o libee_convert-convert.o `test -f
> 'convert.c' || echo './'`convert.c
> /bin/bash ../libtool --tag=CC --mode=link gcc -g -O2
> -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
> -Werror=format-security -W -Wall -Wformat-security -Wshadow -Wcast-align
> -Wpointer-arith -Wmissing-format-attribute -g -Wl,-z,relro -o libee-convert
> libee_convert-convert.o ../src/libee.la -lm -lestr -lm
> libtool: error: cannot find the library '../src/libee.la' or unhandled
> argument '../src/libee.la'
> make[3]: *** [Makefile:529: libee-convert] Error 1
>...
A fix is attached.
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 <[email protected]>
Bug-Debian: https://bugs.debian.org/906479
--- libee-0.4.1.orig/configure.ac
+++ libee-0.4.1/configure.ac
@@ -67,7 +67,7 @@ AC_FUNC_MALLOC
#AC_CHECK_FUNCS([])
LIBEE_CFLAGS="-I\$(top_srcdir)/include"
-LIBEE_LIBS="\$(top_builddir)/src/libee.la -lm"
+LIBEE_LIBS="-lm"
AC_SUBST(LIBEE_CFLAGS)
AC_SUBST(LIBEE_LIBS)
--- libee-0.4.1.orig/src/Makefile.am
+++ libee-0.4.1/src/Makefile.am
@@ -45,6 +45,6 @@ libee_la_LDFLAGS = -version-info 0:0:0
libee_convert_SOURCES = convert.c
libee_convert_CPPFLAGS = -I$(top_srcdir) $(LIBEE_CFLAGS) $(LIBESTR_CFLAGS) $(LIBXML2_CFLAGS)
-libee_convert_LDADD = $(LIBEE_LIBS) $(LIBXML2_LIBS) $(LIBESTR_LIBS)
+libee_convert_LDADD = libee.la $(LIBEE_LIBS) $(LIBXML2_LIBS) $(LIBESTR_LIBS)
include_HEADERS =
--- libee-0.4.1.orig/tests/Makefile.am
+++ libee-0.4.1/tests/Makefile.am
@@ -27,4 +27,4 @@ genfile_SOURCES = genfile.c
ezapi1_SOURCES = ezapi1.c
ezapi1_CPPFLAGS = -I$(top_srcdir) $(LIBEE_CFLAGS) $(LIBXML2_CFLAGS)
-ezapi1_LDADD = $(LIBEE_LIBS) $(LIBXML2_LIBS) $(LIBESTR_LIBS)
+ezapi1_LDADD = ../src/libee.la $(LIBEE_LIBS) $(LIBXML2_LIBS) $(LIBESTR_LIBS)