Looks like `libgcrypt-config --libs` was hard-coded at a few places
and configure.ac was missing AC_SUBST for the vars.

The attached patch should address this.

2013/4/25 Michael Biebl <[email protected]>:
> 2013/4/25 Michael Biebl <[email protected]>:
>> Hi,
>>
>> I've explicitly disabled libcrypt support via --disable--libcrypt, yet
>> the result binary still links against libcrypt. From the build log:
>>
>> /bin/bash ../libtool  --tag=CC   --mode=link gcc  -g -O2
>> -fstack-protector --param=ssp-buffer-size=4 -Wformat
>> -Werror=format-security -W -Wall -Wformat-security -Wshadow
>> -Wcast-align -Wpointer-arith -Wmissing-format-attribute -g
>> -export-dynamic `libgcrypt-config --libs` -Wl,-z,relro -o rsyslogd
>                            ^^^^^^^^^^^^^^^^^^^^^^^^^
>
>> libtool: link: gcc -g -O2 -fstack-protector --param=ssp-buffer-size=4
>> -Wformat -Werror=format-security -W -Wall -Wformat-security -Wshadow
>> -Wcast-align -Wpointer-arith -Wmissing-format-attribute -g -Wl,-z
>> -Wl,relro -o rsyslogd rsyslogd-syslogd.o rsyslogd-omshell.o
>> rsyslogd-omusrmsg.o rsyslogd-omfwd.o rsyslogd-omfile.o
>> rsyslogd-ompipe.o rsyslogd-omdiscard.o rsyslogd-pmrfc5424.o
>> rsyslogd-pmrfc3164.o rsyslogd-smtradfile.o rsyslogd-smfile.o
>> rsyslogd-smfwd.o rsyslogd-smtradfwd.o rsyslogd-iminternal.o
>> rsyslogd-pidfile.o -Wl,--export-dynamic  -L/lib/x86_64-linux-gnu
>> -lgcrypt ../grammar/.libs/libgrammar.a -lz -lpthread
>    ^^^^^^^^^
>
>
>
> --
> Why is it that all of the instruments seeking intelligent life in the
> universe are pointed away from Earth?



-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

Attachment: 02-fix-non-libgcrypt-build.patch
Description: Binary data

_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of 
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE 
THAT.

Reply via email to