Blame otp-0004-Fix-shared-libraries-installation.patch

Peter Lemenkov c4f14d
From edaced375235a006c87a3e15b8b17e9bc6dbb923 Mon Sep 17 00:00:00 2001
Peter Lemenkov d45236
From: Peter Lemenkov <lemenkov@gmail.com>
Peter Lemenkov d45236
Date: Thu, 15 Apr 2010 13:31:36 +0400
Peter Lemenkov c4f14d
Subject: [PATCH 4/7] Fix shared libraries installation
Peter Lemenkov d45236
Peter Lemenkov d45236
Several shared libraries (asn1_erl_drv.so, megaco_flex_scanner_drv_mt.so,
Peter Lemenkov d45236
megaco_flex_scanner_drv.so, wxe_driver.so) were installed as data files
Peter Lemenkov d45236
previously.
Peter Lemenkov d45236
Peter Lemenkov d45236
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
Peter Lemenkov d45236
---
Peter Lemenkov d45236
 lib/asn1/c_src/Makefile         |    2 +-
Peter Lemenkov d45236
 lib/megaco/src/flex/Makefile.in |    2 +-
Peter Lemenkov d45236
 lib/wx/c_src/Makefile.in        |    2 +-
Peter Lemenkov d45236
 3 files changed, 3 insertions(+), 3 deletions(-)
Peter Lemenkov d45236
Peter Lemenkov d45236
diff --git a/lib/asn1/c_src/Makefile b/lib/asn1/c_src/Makefile
Peter Lemenkov d45236
index 906c513..9e9cb18 100644
Peter Lemenkov d45236
--- a/lib/asn1/c_src/Makefile
Peter Lemenkov d45236
+++ b/lib/asn1/c_src/Makefile
Peter Lemenkov d45236
@@ -124,7 +124,7 @@ include $(ERL_TOP)/make/otp_release_targets.mk
Peter Lemenkov d45236
 
Peter Lemenkov d45236
 release_spec: opt
Peter Lemenkov d45236
 	$(INSTALL_DIR) $(RELSYSDIR)/priv/lib
Peter Lemenkov d45236
-	$(INSTALL_DATA) $(SHARED_OBJ_FILES) $(RELSYSDIR)/priv/lib
Peter Lemenkov d45236
+	$(INSTALL_PROGRAM) $(SHARED_OBJ_FILES) $(RELSYSDIR)/priv/lib
Peter Lemenkov d45236
 	$(INSTALL_DIR) $(RELSYSDIR)/c_src
Peter Lemenkov d45236
 	$(INSTALL_DATA) $(C_FILES) $(RELSYSDIR)/c_src
Peter Lemenkov d45236
 
Peter Lemenkov d45236
diff --git a/lib/megaco/src/flex/Makefile.in b/lib/megaco/src/flex/Makefile.in
Peter Lemenkov d45236
index 6ce9b34..5af651d 100644
Peter Lemenkov d45236
--- a/lib/megaco/src/flex/Makefile.in
Peter Lemenkov d45236
+++ b/lib/megaco/src/flex/Makefile.in
Peter Lemenkov d45236
@@ -280,7 +280,7 @@ release_spec: opt
Peter Lemenkov d45236
 	$(INSTALL_DATA) $(TARGET_FILES) $(RELSYSDIR)/ebin
Peter Lemenkov d45236
 ifeq ($(ENABLE_MEGACO_FLEX_SCANNER),true)
Peter Lemenkov d45236
 	$(INSTALL_DATA) $(FLEX_FILES) $(C_TARGETS) $(RELSYSDIR)/src/flex
Peter Lemenkov d45236
-	$(INSTALL_DATA) $(SOLIBS) $(RELSYSDIR)/priv/lib
Peter Lemenkov d45236
+	$(INSTALL_PROGRAM) $(SOLIBS) $(RELSYSDIR)/priv/lib
Peter Lemenkov d45236
 endif
Peter Lemenkov d45236
 
Peter Lemenkov d45236
 
Peter Lemenkov d45236
diff --git a/lib/wx/c_src/Makefile.in b/lib/wx/c_src/Makefile.in
Peter Lemenkov d45236
index 5a0b4ce..8710641 100644
Peter Lemenkov d45236
--- a/lib/wx/c_src/Makefile.in
Peter Lemenkov d45236
+++ b/lib/wx/c_src/Makefile.in
Peter Lemenkov d45236
@@ -167,7 +167,7 @@ release_spec: opt
Peter Lemenkov d45236
 	$(INSTALL_DIR) $(RELSYSDIR)/priv/$(SYS_TYPE)
Peter Lemenkov d45236
 	$(INSTALL_DATA) ../priv/erlang-logo32.png $(RELSYSDIR)/priv/
Peter Lemenkov d45236
 	$(INSTALL_DATA) ../priv/erlang-logo64.png $(RELSYSDIR)/priv/
Peter Lemenkov d45236
-	$(INSTALL_DATA) $(TARGET_DIR)/$(TARGET_API)$(SO_EXT) $(RELSYSDIR)/priv/$(SYS_TYPE)
Peter Lemenkov d45236
+	$(INSTALL_PROGRAM) $(TARGET_DIR)/$(TARGET_API)$(SO_EXT) $(RELSYSDIR)/priv/$(SYS_TYPE)
Peter Lemenkov d45236
 
Peter Lemenkov d45236
 release_docs_spec:
Peter Lemenkov d45236
 
Peter Lemenkov d45236
-- 
Peter Lemenkov d45236
1.6.6.1
Peter Lemenkov d45236