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

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