From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Korsgaard Date: Fri, 16 Mar 2012 22:23:50 +0100 Subject: [Buildroot] [PATCH 2/2] vsftpd: fix SSL dependency In-Reply-To: <1331906095-18056-2-git-send-email-yegorslists@googlemail.com> (yegorslists@googlemail.com's message of "Fri, 16 Mar 2012 14:54:55 +0100") References: <1331906095-18056-1-git-send-email-yegorslists@googlemail.com> <1331906095-18056-2-git-send-email-yegorslists@googlemail.com> Message-ID: <87r4wsp7dl.fsf@macbook.be.48ers.dk> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net >>>>> "yegorslists" == yegorslists writes: yegorslists> From: Yegor Yefremov yegorslists> Signed-off-by: Yegor Yefremov Can you be a bit more specific about what this fixes? I just did a test with the default BR (arm926t) toolchain and it works here without it: /home/peko/source/buildroot/output/host/usr/bin/arm-linux-gcc -o vsftpd main.o utility.o prelogin.o ftpcmdio.o postlogin.o privsock.o tunables.o ftpdataio.o secbuf.o ls.o postprivparent.o logging.o str.o netstr.o sysstr.o strlist.o banner.o filestr.o parseconf.o secutil.o ascii.o oneprocess.o twoprocess.o privops.o standalone.o hash.o tcpwrap.o ipaddrparse.o access.o features.o readwrite.o opts.o ssl.o sslslave.o ptracesandbox.o ftppolicy.o sysutil.o sysdeputil.o -Wl,-s -lcrypt -lssl .. ./output/host/usr/bin/arm-linux-readelf -a output/build/vsftpd-2.3.5/vsftpd |grep NEEDED 0x00000001 (NEEDED) Shared library: [libcrypt.so.0] 0x00000001 (NEEDED) Shared library: [libssl.so.1.0.0] 0x00000001 (NEEDED) Shared library: [libc.so.0] 0x00000001 (NEEDED) Shared library: [libcrypto.so.1.0.0] So it end up with the libcrypto reference without explicitly linking with it. -- Bye, Peter Korsgaard