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

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