[longomatch: 2/2] Add config file for CesarPlayer.dll so ldconfig is not needed anymore after installing
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [longomatch: 2/2] Add config file for CesarPlayer.dll so ldconfig is not needed anymore after installing
- Date: Sun, 11 Oct 2009 15:10:12 +0000 (UTC)
commit 19e43d75541c144547d73fa0df4b93072f6c6543
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date: Sun Oct 11 17:09:16 2009 +0200
Add config file for CesarPlayer.dll so ldconfig is not needed anymore after installing
CesarPlayer/CesarPlayer.dll.config.in | 3 +++
CesarPlayer/Makefile.am | 12 ++++++++----
configure.ac | 1 +
3 files changed, 12 insertions(+), 4 deletions(-)
---
diff --git a/CesarPlayer/CesarPlayer.dll.config.in b/CesarPlayer/CesarPlayer.dll.config.in
new file mode 100644
index 0000000..6743e48
--- /dev/null
+++ b/CesarPlayer/CesarPlayer.dll.config.in
@@ -0,0 +1,3 @@
+<configuration>
+ <dllmap dll="libcesarplayer.dll" target="@expanded_libdir@/@PACKAGE@/libcesarplayer.so"/>
+</configuration>
diff --git a/CesarPlayer/Makefile.am b/CesarPlayer/Makefile.am
index 563a1b8..0f5fe1d 100644
--- a/CesarPlayer/Makefile.am
+++ b/CesarPlayer/Makefile.am
@@ -13,6 +13,8 @@ PROJECT_REFERENCES =
BUILD_DIR = bin/Debug
CESARPLAYER_DLL_MDB_SOURCE=bin/Debug/CesarPlayer.dll.mdb
CESARPLAYER_DLL_MDB=$(BUILD_DIR)/CesarPlayer.dll.mdb
+CESARPLAYER_DLL_CONFIG_SOURCE = CesarPlayer.dll.config
+CESARPLAYER_DLL_CONFIG = $(BUILD_DIR)/CesarPlayer.dll.config
endif
@@ -26,6 +28,8 @@ PROJECT_REFERENCES =
BUILD_DIR = bin/Release
CESARPLAYER_DLL_MDB_SOURCE=
CESARPLAYER_DLL_MDB=
+CESARPLAYER_DLL_CONFIG_SOURCE = CesarPlayer.dll.config
+CESARPLAYER_DLL_CONFIG = $(BUILD_DIR)/CesarPlayer.dll.config
endif
@@ -34,8 +38,8 @@ AL=al2
SATELLITE_ASSEMBLY_NAME=$(notdir $(basename $(ASSEMBLY))).resources.dll
PROGRAMFILES = \
- $(CESARPLAYER_DLL_MDB)
-
+ $(CESARPLAYER_DLL_MDB)\
+ $(CESARPLAYER_DLL_CONFIG)
RESGEN=resgen2
@@ -102,6 +106,7 @@ RESOURCES = \
EXTRAS = \
cesarplayer.key\
+ CesarPlayer.dll.config\
AssemblyInfo.cs.in
REFERENCES = \
@@ -117,8 +122,7 @@ CLEANFILES = $(PROGRAMFILES)
include $(top_srcdir)/Makefile.include
-
-
+$(eval $(call emit-deploy-target,CESARPLAYER_DLL_CONFIG))
$(eval $(call emit_resgen_targets))
$(build_xamlg_list): %.xaml.g.cs: %.xaml
diff --git a/configure.ac b/configure.ac
index e52e2e6..d7e6bfc 100644
--- a/configure.ac
+++ b/configure.ac
@@ -113,6 +113,7 @@ libcesarplayer/Makefile
libcesarplayer/src/Makefile
Makefile
CesarPlayer/cesarplayer.pc
+CesarPlayer/CesarPlayer.dll.config
LongoMatch/longomatch
LongoMatch/AssemblyInfo.cs
CesarPlayer/AssemblyInfo.cs
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]