aboutsummaryrefslogtreecommitdiffstats
path: root/src/Makefile_Efl_Mono.am
diff options
context:
space:
mode:
authorVitor Sousa <vitorsousasilva@gmail.com>2018-01-25 14:45:04 -0200
committerLauro Moura <lauromoura@expertisesolutions.com.br>2018-01-25 16:03:12 -0300
commit359a6cdc0ec13577bd31227d386c213467169f0a (patch)
tree32a6f79cc45c5bee6c3e2e4166656f5184f0ef41 /src/Makefile_Efl_Mono.am
parenteolian_cxx: Fix "unused parameter" warnings (diff)
downloadefl-359a6cdc0ec13577bd31227d386c213467169f0a.tar.gz
efl_mono: fix DLL instalation path on efl-mono.pc.in
Destination of libefl_mono.dll is OS dependent, this was not translated to efl-mono.pc.in. This commit fix this issue.
Diffstat (limited to 'src/Makefile_Efl_Mono.am')
-rw-r--r--src/Makefile_Efl_Mono.am12
1 files changed, 3 insertions, 9 deletions
diff --git a/src/Makefile_Efl_Mono.am b/src/Makefile_Efl_Mono.am
index af85ab853b..96d8bf74be 100644
--- a/src/Makefile_Efl_Mono.am
+++ b/src/Makefile_Efl_Mono.am
@@ -206,16 +206,10 @@ lib/efl_mono/libefl_mono.dll.config:
echo " <dllmap dll=\"elementary\" target=\"$(abs_top_builddir)/src/lib/elementary/.libs/libelementary.so\"/>" >> $@
echo "</configuration>" >> $@
-if HAVE_WIN32
-efl_mono_dll_dest = $(DESTDIR)$(bindir)
-else
-efl_mono_dll_dest = $(DESTDIR)$(libdir)/efl-mono-@VMAJ@
-endif
-
EFL_INSTALL_EXEC_HOOK += \
-$(MKDIR_P) $(efl_mono_dll_dest); \
-cp -f $(builddir)/lib/efl_mono/libefl_mono.dll $(efl_mono_dll_dest)/libefl_mono.dll; \
-cp -f $(builddir)/lib/efl_mono/libefl_mono.xml $(efl_mono_dll_dest)/libefl_mono.xml; \
+$(MKDIR_P) @eflmonodlldir@; \
+cp -f $(builddir)/lib/efl_mono/libefl_mono.dll @eflmonodlldir@/libefl_mono.dll; \
+cp -f $(builddir)/lib/efl_mono/libefl_mono.xml @eflmonodlldir@/libefl_mono.xml; \
$(MKDIR_P) $(DESTDIR)$(datadir)/efl_mono; \
cp -f $(builddir)/bindings/mono/efl_mono/efl_libs.csv $(DESTDIR)$(datadir)/efl_mono/efl_libs.csv;