Blame otp-R12B-5-0006-Fix-shared-libraries-installation.patch

Peter Lemenkov f69201
From 43a522c155f9cdf60f741d10cee9b99402143437 Mon Sep 17 00:00:00 2001
Peter Lemenkov f69201
From: Peter Lemenkov <lemenkov@gmail.com>
Peter Lemenkov f69201
Date: Mon, 19 Apr 2010 13:44:40 +0400
Peter Lemenkov f69201
Subject: [PATCH 6/7] Fix shared libraries installation
Peter Lemenkov f69201
Peter Lemenkov f69201
Several shared libraries (asn1_erl_drv.so, megaco_flex_scanner_drv_mt.so,
Peter Lemenkov f69201
megaco_flex_scanner_drv.so) were installed as data files previously.
Peter Lemenkov f69201
---
Peter Lemenkov f69201
 lib/asn1/c_src/Makefile.in      |    2 +-
Peter Lemenkov f69201
 lib/megaco/src/flex/Makefile.in |    2 +-
Peter Lemenkov f69201
 2 files changed, 2 insertions(+), 2 deletions(-)
Peter Lemenkov f69201
Peter Lemenkov f69201
diff --git a/lib/asn1/c_src/Makefile.in b/lib/asn1/c_src/Makefile.in
Peter Lemenkov f69201
index e1aad44..73325bb 100644
Peter Lemenkov f69201
--- a/lib/asn1/c_src/Makefile.in
Peter Lemenkov f69201
+++ b/lib/asn1/c_src/Makefile.in
Peter Lemenkov f69201
@@ -131,7 +131,7 @@ include $(ERL_TOP)/make/otp_release_targets.mk
Peter Lemenkov f69201
 
Peter Lemenkov f69201
 release_spec: opt
Peter Lemenkov f69201
 	$(INSTALL_DIR) $(RELSYSDIR)/priv/lib
Peter Lemenkov f69201
-	$(INSTALL_DATA) $(SHARED_OBJ_FILES) $(RELSYSDIR)/priv/lib
Peter Lemenkov f69201
+	$(INSTALL_PROGRAM) $(SHARED_OBJ_FILES) $(RELSYSDIR)/priv/lib
Peter Lemenkov f69201
 	$(INSTALL_DIR) $(RELSYSDIR)/c_src
Peter Lemenkov f69201
 	$(INSTALL_DATA) $(C_FILES) $(RELSYSDIR)/c_src
Peter Lemenkov f69201
 
Peter Lemenkov f69201
diff --git a/lib/megaco/src/flex/Makefile.in b/lib/megaco/src/flex/Makefile.in
Peter Lemenkov f69201
index 127f8b2..88c0876 100644
Peter Lemenkov f69201
--- a/lib/megaco/src/flex/Makefile.in
Peter Lemenkov f69201
+++ b/lib/megaco/src/flex/Makefile.in
Peter Lemenkov f69201
@@ -219,7 +219,7 @@ release_spec: opt
Peter Lemenkov f69201
 	$(INSTALL_DATA) $(TARGET_FILES) $(RELSYSDIR)/ebin
Peter Lemenkov f69201
 ifeq ($(ENABLE_MEGACO_FLEX_SCANNER),true)
Peter Lemenkov f69201
 	$(INSTALL_DATA) $(FLEX_FILES) $(RELSYSDIR)/src/flex
Peter Lemenkov f69201
-	$(INSTALL_DATA) $(SOLIBS) $(RELSYSDIR)/priv/lib
Peter Lemenkov f69201
+	$(INSTALL_PROGRAM) $(SOLIBS) $(RELSYSDIR)/priv/lib
Peter Lemenkov f69201
 endif
Peter Lemenkov f69201
 
Peter Lemenkov f69201
 
Peter Lemenkov f69201
-- 
Peter Lemenkov f69201
1.6.6.1
Peter Lemenkov f69201