diff options
Diffstat (limited to 'recipes/proftpd/files/make.patch')
-rw-r--r-- | recipes/proftpd/files/make.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/recipes/proftpd/files/make.patch b/recipes/proftpd/files/make.patch index 66ebf2ce89..3e8109f373 100644 --- a/recipes/proftpd/files/make.patch +++ b/recipes/proftpd/files/make.patch @@ -49,3 +49,16 @@ Index: proftpd-1.3.2/Make.rules.in RM=rm -f SHELL=/bin/sh +Index: proftpd-1.3.2/lib/libcap/Makefile +=================================================================== +--- proftpd-1.3.2.orig/lib/libcap/Makefile ++++ proftpd-1.3.2/lib/libcap/Makefile +@@ -26,7 +26,7 @@ OBJS=$(addsuffix .o, $(FILES)) + all: $(LIBNAME) + + _makenames: _makenames.c cap_names.sed +- $(CC) $(CFLAGS) $(LDFLAGS) $< -o $@ ++ $(BUILD_CC) $(CFLAGS) $(LDFLAGS) $< -o $@ + + cap_names.h: _makenames + ./_makenames > cap_names.h |