From f5203e0bb5a33b65aafdeb35fb6082ea69d700ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20P=C3=A9gouri=C3=A9-Gonnard?= Date: Wed, 29 Apr 2015 09:58:00 +0200 Subject: [PATCH] Fix "make install" handling of symlinks --- ChangeLog | 1 + Makefile | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 8d7a8108e..b0841ba6e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -28,6 +28,7 @@ Features errors on use of deprecated functions. Bugfix + * Fix handling of symlinks by "make install" (found by Gaƫl PORTAY). * Fix potential NULL pointer dereference (not trigerrable remotely) when ssl_write() is called before the handshake is finished (introduced in 1.3.10) (first reported by Martin Blumenstingl). diff --git a/Makefile b/Makefile index f9a4ce24c..441d1f9f2 100644 --- a/Makefile +++ b/Makefile @@ -23,7 +23,7 @@ install: cp -r include/polarssl $(DESTDIR)/include mkdir -p $(DESTDIR)/lib - cp library/libpolarssl.* library/libmbedtls.* $(DESTDIR)/lib + cp -RP library/libpolarssl.* library/libmbedtls.* $(DESTDIR)/lib mkdir -p $(DESTDIR)/bin for p in programs/*/* ; do \