diff --git a/patches/perl-5.22.1.local.patch b/patches/perl-5.22.1.local.patch
index 765411e..65fe7e6 100644
--- a/patches/perl-5.22.1.local.patch
+++ b/patches/perl-5.22.1.local.patch
@@ -1,6 +1,6 @@
 diff -ru perl-5.22.1.orig/installman perl-5.22.1/installman
---- perl-5.22.1.orig/installman	2015-10-17 14:32:14.000000000 +0200
-+++ perl-5.22.1/installman	2017-01-17 16:54:06.004016000 +0100
+--- perl-5.22.1.orig/installman	2017-11-17 23:35:34.386593179 +0100
++++ perl-5.22.1/installman	2017-11-17 23:03:41.388858972 +0100
 @@ -146,9 +146,10 @@
  	    next;
  	}
@@ -14,3 +14,15 @@ diff -ru perl-5.22.1.orig/installman perl-5.22.1/installman
          my $tmp = "${mandir}/${manpage}.tmp";
  	$manpage = "${mandir}/${manpage}.${manext}";
  
+diff -ru perl-5.22.1.orig/Makefile perl-5.22.1/Makefile
+--- perl-5.22.1.orig/Makefile	2017-11-17 19:06:50.298908618 +0100
++++ perl-5.22.1/Makefile	2017-11-17 23:32:21.687695934 +0100
+@@ -135,7 +135,7 @@
+ perl$x: perlmain$o $(LIBPERL) $(static_tgt) static.list ext.libs
+ 	$(eval extlibs=$(shell cat ext.libs))
+ 	$(eval statars=$(shell cat static.list))
+-	$(CC) $(LDFLAGS) -o $@ $(filter %$o,$^) $(LIBPERL) $(statars) $(LIBS) $(extlibs)
++	$(CC) $(LDFLAGS) -o $@ $(filter %$o,$^) -lperl $(statars) $(LIBS) $(extlibs)
+ 
+ %$o: %.c config.h
+ 	$(CC) $(CFLAGS) -c -o $@ $<