Control: tags -1 patch

On Sat, Aug 18, 2018 at 04:41:32PM +0000, Santiago Vila wrote:
>...
> libtool: link: gcc -DOMXILCOMPONENTSPATH=\"/usr/lib/libomxil-bellagio0/\" 
> -I../include -Wall -Werror -DCONFIG_DEBUG_LEVEL=0 -o omxregister-bellagio 
> omxregister_bellagio-omxregister.o omxregister_bellagio-common.o  
> -lomxil-bellagio -L. -ldl -lpthread
> /usr/bin/ld: cannot find -lomxil-bellagio
> collect2: error: ld returned 1 exit status
> make[4]: *** [Makefile:594: omxregister-bellagio] Error 1
>...

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 <b...@debian.org>
Bug-Debian: https://bugs.debian.org/906604

--- libomxil-bellagio-0.9.3.orig/src/Makefile.am
+++ libomxil-bellagio-0.9.3/src/Makefile.am
@@ -7,7 +7,7 @@ bin_PROGRAMS = omxregister-bellagio
 omxregister_bellagio_SOURCES = omxregister.c common.c common.h
 omxregister_bellagio_CFLAGS = -DOMXILCOMPONENTSPATH=\"$(plugindir)/\" \
 			      -I$(top_srcdir)/include
-omxregister_bellagio_LDFLAGS = -lomxil-bellagio -L$(builddir)
+omxregister_bellagio_LDADD = libomxil-bellagio.la
 
 lib_LTLIBRARIES = libomxil-bellagio.la
 libomxil_bellagio_la_SOURCES = component_loader.h \

Reply via email to