package/logrotate: update upstream site in Config.in help
[buildroot-gz.git] / package / zmqpp / 0002-Install-static-library-for-static-builds.patch
blob402f85e263182263d3f112700098ebfcc9638c92
1 From 283676e2e8f15bedca20c3d94caeecfdebe11ffd Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?J=C3=B6rg=20Krause?= <joerg.krause@embedded.rocks>
3 Date: Mon, 23 Nov 2015 22:53:09 +0100
4 Subject: [PATCH 2/2] Install static library for static builds
5 MIME-Version: 1.0
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
9 [Gustavo: update for 4.1.2]
11 Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
12 Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
13 ---
14 Makefile | 3 +++
15 1 file changed, 3 insertions(+)
17 diff --git a/Makefile b/Makefile
18 index 86c8fac..fbaff63 100644
19 --- a/Makefile
20 +++ b/Makefile
21 @@ -163,6 +163,9 @@ ifeq ($(BUILD_SHARED),yes)
22 ln -sf $(LIBRARY_FULL_VERSION_SHARED) $(LIBDIR)/$(LIBRARY_VERSION_SHARED)
23 ln -sf $(LIBRARY_FULL_VERSION_SHARED) $(LIBDIR)/$(LIBRARY_SHARED)
24 endif
25 +ifeq ($(BUILD_STATIC),yes)
26 + install -m 755 $(BUILD_PATH)/$(LIBRARY_ARCHIVE) $(LIBDIR)/$(LIBRARY_ARCHIVE)
27 +endif
28 if [ -f $(BUILD_PATH)/$(CLIENT_TARGET) ]; then install -m 755 $(BUILD_PATH)/$(CLIENT_TARGET) $(BINDIR); fi
29 $(LDCONFIG)
30 @echo "use make installcheck to test the install"
31 --
32 2.4.10