Skip to content
Snippets Groups Projects
Commit 27628ea8 authored by deuce's avatar deuce
Browse files

Some versions of patch require -p0 to use the path from the patch file.

parent b07e29b6
Branches
Tags
No related merge requests found
......@@ -46,8 +46,8 @@ $(CRYPTLIB_BUILD): $(3RDP_ROOT)$(DIRSEP)dist/cryptlib.zip | $(CRYPT_SRC) $(CRYPT
@echo Creating $@ ...
$(QUIET)-rm -rf $(CRYPT_SRC)/*
$(QUIET)unzip -oa $(3RDPDISTDIR)$(DIRSEP)cryptlib.zip -d $(CRYPT_SRC)
$(QUIET)patch -d $(CRYPT_SRC) < random_exit.patch
$(QUIET)patch -d $(CRYPT_SRC) < SSL-fix.patch
$(QUIET)patch -p0 -d $(CRYPT_SRC) < random_exit.patch
$(QUIET)patch -p0 -d $(CRYPT_SRC) < SSL-fix.patch
ifdef DEBUG
$(QUIET)env - PATH=$(PATH) make -C $(CRYPT_SRC) debug
else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment