[BRLTTY] -lsystemd coming in the way

Dave Mielke dave at mielke.cc
Mon Oct 3 07:16:00 EDT 2016


[quoted lines by Samuel Thibault on 2016/10/02 at 13:26 +0200]

>We are getting the following build error in Debian:
>
>gcc -I. -I../../Programs -I./../Programs -I../../Programs -I../../Headers -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2  -D_DEFAULT_SOURCE -D_POSIX_C_SOURCE=2 -D_BSD_SOURCE -D_XOPEN_SOURCE=500 -D_XOPEN_SOURCE_EXTENDED -D_GNU_SOURCE -DHAVE_CONFIG_H -g -O2 -fdebug-prefix-map=/build/brltty-5.4/build-brltty=. -fPIE -fstack-protector-strong -Wformat -Werror=format-security -std=gnu99 -Wall -Werror=format-security -fPIC  -c ../../Programs/service_libsystemd.c
>make[2]: *** No rule to make target '-lsystemd', needed by 'brltty'.  Stop.
>
>Indeed, SERVICE_LIBS = -lsystemd, and $(SERVICE_LIBS) appears in
>PROGRAM_OBJECTS, so make will be looking for an "-lsystemd" file.
>I suggest doing the attached change.

Thanks. Committed. That indeed was a bug.

-- 
Dave Mielke           | 2213 Fox Crescent | The Bible is the very Word of God.
Phone: 1-613-726-0014 | Ottawa, Ontario   | http://Mielke.cc/bible/
EMail: Dave at Mielke.cc | Canada  K2A 1H7   | http://FamilyRadio.org/


More information about the BRLTTY mailing list