diff options
Diffstat (limited to 'meta-networking/recipes-daemons/vsftpd/vsftpd-3.0.3/makefile-libs.patch')
| -rw-r--r-- | meta-networking/recipes-daemons/vsftpd/vsftpd-3.0.3/makefile-libs.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/meta-networking/recipes-daemons/vsftpd/vsftpd-3.0.3/makefile-libs.patch b/meta-networking/recipes-daemons/vsftpd/vsftpd-3.0.3/makefile-libs.patch new file mode 100644 index 0000000000..9a10f722f4 --- /dev/null +++ b/meta-networking/recipes-daemons/vsftpd/vsftpd-3.0.3/makefile-libs.patch | |||
| @@ -0,0 +1,21 @@ | |||
| 1 | Hardcode LIBS instead of using a script to determine available libs | ||
| 2 | |||
| 3 | We want to avoid this dynamic detection so we have a deterministic | ||
| 4 | build. | ||
| 5 | |||
| 6 | Upstream-Status: Inappropriate [config] | ||
| 7 | |||
| 8 | Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> | ||
| 9 | |||
| 10 | diff --git a/Makefile b/Makefile | ||
| 11 | --- a/Makefile | ||
| 12 | +++ b/Makefile | ||
| 13 | @@ -5,7 +5,7 @@ | ||
| 14 | #CFLAGS = -g | ||
| 15 | CFLAGS = -O2 -Wall -W -Wshadow #-pedantic -Werror -Wconversion | ||
| 16 | |||
| 17 | -LIBS = `./vsf_findlibs.sh` | ||
| 18 | +LIBS = -lssl -lcrypto -lnsl -lresolv | ||
| 19 | LINK = -Wl,-s | ||
| 20 | |||
| 21 | OBJS = main.o utility.o prelogin.o ftpcmdio.o postlogin.o privsock.o \ | ||
