diff options
author | CoprDistGit <infra@openeuler.org> | 2024-07-15 09:01:07 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2024-07-15 09:01:07 +0000 |
commit | a69ae46c92199effdb2f0903e5416af42fd8ad69 (patch) | |
tree | 3700124d2256f460e93567fa6f3cfa6ec0d44787 /0001-Don-t-use-the-provided-script-to-locate-libraries.patch | |
parent | 908f6497506278a654656b2ed78b9cf08a892218 (diff) |
automatic import of vsftpdopeneuler24.03_LTSopeneuler22.03_LTS_SP4openeuler22.03_LTS_SP3openeuler20.03_LTS_SP4openeuler20.03
Diffstat (limited to '0001-Don-t-use-the-provided-script-to-locate-libraries.patch')
-rw-r--r-- | 0001-Don-t-use-the-provided-script-to-locate-libraries.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/0001-Don-t-use-the-provided-script-to-locate-libraries.patch b/0001-Don-t-use-the-provided-script-to-locate-libraries.patch new file mode 100644 index 0000000..f4a67e3 --- /dev/null +++ b/0001-Don-t-use-the-provided-script-to-locate-libraries.patch @@ -0,0 +1,27 @@ +From 7bd573d76e9c1996ad5a96f0289731a253a24301 Mon Sep 17 00:00:00 2001 +From: Martin Sehnoutka <msehnout@redhat.com> +Date: Tue, 6 Sep 2016 13:35:51 +0200 +Subject: [PATCH 01/59] Don't use the provided script to locate libraries. + +This branch is Fedora (RHEL) specific, so we know what +libraries we have and want to use. +--- + Makefile | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/Makefile b/Makefile +index c63ed1b..98118dc 100644 +--- a/Makefile ++++ b/Makefile +@@ -8,7 +8,7 @@ CFLAGS = -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 \ + -D_FORTIFY_SOURCE=2 \ + #-pedantic -Wconversion + +-LIBS = `./vsf_findlibs.sh` ++LIBS = -lwrap -lnsl -lpam -lcap -ldl -lcrypto + LINK = -Wl,-s + LDFLAGS = -fPIE -pie -Wl,-z,relro -Wl,-z,now + +-- +2.14.4 + |