Blame otp-R11B-2-0005-Fix-shared-libraries-installation.patch

Peter Lemenkov 03eee9
From 211a29f1404bbe3e158e32cce7965f36fe33a3c2 Mon Sep 17 00:00:00 2001
Peter Lemenkov 03eee9
From: Peter Lemenkov <lemenkov@gmail.com>
Peter Lemenkov 03eee9
Date: Mon, 19 Apr 2010 13:44:40 +0400
Peter Lemenkov 03eee9
Subject: [PATCH 5/8] Fix shared libraries installation
Peter Lemenkov 03eee9
Peter Lemenkov 03eee9
Several shared libraries (asn1_erl_drv.so, megaco_flex_scanner_drv_mt.so,
Peter Lemenkov 03eee9
megaco_flex_scanner_drv.so) were installed as data files previously.
Peter Lemenkov 03eee9
---
Peter Lemenkov 03eee9
 lib/asn1/c_src/Makefile.in      |    2 +-
Peter Lemenkov 03eee9
 lib/megaco/src/flex/Makefile.in |    2 +-
Peter Lemenkov 03eee9
 2 files changed, 2 insertions(+), 2 deletions(-)
Peter Lemenkov 03eee9
Peter Lemenkov 03eee9
diff --git a/lib/asn1/c_src/Makefile.in b/lib/asn1/c_src/Makefile.in
Peter Lemenkov 03eee9
index f9555ee..7e8c9dd 100644
Peter Lemenkov 03eee9
--- a/lib/asn1/c_src/Makefile.in
Peter Lemenkov 03eee9
+++ b/lib/asn1/c_src/Makefile.in
Peter Lemenkov 03eee9
@@ -148,7 +148,7 @@ include $(ERL_TOP)/make/otp_release_targets.mk
Peter Lemenkov 03eee9
 
Peter Lemenkov 03eee9
 release_spec: opt
Peter Lemenkov 03eee9
 	$(INSTALL_DIR) $(RELSYSDIR)/priv/lib
Peter Lemenkov 03eee9
-	$(INSTALL_DATA) $(SHARED_OBJ_FILES) $(RELSYSDIR)/priv/lib
Peter Lemenkov 03eee9
+	$(INSTALL_PROGRAM) $(SHARED_OBJ_FILES) $(RELSYSDIR)/priv/lib
Peter Lemenkov 03eee9
 	$(INSTALL_DIR) $(RELSYSDIR)/c_src
Peter Lemenkov 03eee9
 	$(INSTALL_DATA) $(C_FILES) $(RELSYSDIR)/c_src
Peter Lemenkov 03eee9
 
Peter Lemenkov 03eee9
diff --git a/lib/megaco/src/flex/Makefile.in b/lib/megaco/src/flex/Makefile.in
Peter Lemenkov 03eee9
index eb532bd..a319ada 100644
Peter Lemenkov 03eee9
--- a/lib/megaco/src/flex/Makefile.in
Peter Lemenkov 03eee9
+++ b/lib/megaco/src/flex/Makefile.in
Peter Lemenkov 03eee9
@@ -213,7 +213,7 @@ release_spec: opt
Peter Lemenkov 03eee9
 	$(INSTALL_DATA) $(TARGET_FILES) $(RELSYSDIR)/ebin
Peter Lemenkov 03eee9
 ifeq ($(ENABLE_MEGACO_FLEX_SCANNER),true)
Peter Lemenkov 03eee9
 	$(INSTALL_DATA) $(FLEX_FILES) $(RELSYSDIR)/src/flex
Peter Lemenkov 03eee9
-	$(INSTALL_DATA) $(SOLIBS) $(RELSYSDIR)/priv/lib
Peter Lemenkov 03eee9
+	$(INSTALL_PROGRAM) $(SOLIBS) $(RELSYSDIR)/priv/lib
Peter Lemenkov 03eee9
 endif
Peter Lemenkov 03eee9
 
Peter Lemenkov 03eee9
 
Peter Lemenkov 03eee9
-- 
Peter Lemenkov 03eee9
1.6.6.1
Peter Lemenkov 03eee9