q66 pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=4db40cea63abc9534b7255b8bd2346ab222d9418

commit 4db40cea63abc9534b7255b8bd2346ab222d9418
Author: Daniel Kolesa <[email protected]>
Date:   Mon Dec 8 15:59:13 2014 +0000

    elua: add pkg-config for the elua library
---
 Makefile.am          |  5 +++++
 pc/elua.pc.in        | 17 +++++++++++++++++
 src/Makefile_Elua.am |  4 ++--
 3 files changed, 24 insertions(+), 2 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 34aaa1d..d7c8306 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -163,6 +163,11 @@ pc/eet-cxx.pc \
 pc/eo-cxx.pc
 endif
 
+if HAVE_ELUA
+pkgconfig_DATA += \
+pc/elua.pc
+endif
+
 if BUILD_ENGINE_SOFTWARE_X11
 pkgconfig_DATA += pc/evas-software-x11.pc
 endif
diff --git a/pc/elua.pc.in b/pc/elua.pc.in
new file mode 100644
index 0000000..0b33827
--- /dev/null
+++ b/pc/elua.pc.in
@@ -0,0 +1,17 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+datarootdir=@datarootdir@
+datadir=@datadir@/elua
+vmaj=@VMAJ@
+vmin=@VMIN@
+vmic=@VMIC@
+
+Name: elua
+Description: EFL Lua application platform backend
+Requires.private: @requirements_pc_elua@
+Version: @VERSION@
+Libs: -L${libdir} -lelua
+Libs.private: @requirements_libs_elua@
+Cflags: -I${includedir}/efl-@VMAJ@ -I${includedir}/elua-@VMAJ@
diff --git a/src/Makefile_Elua.am b/src/Makefile_Elua.am
index 47bdade..e3d0e92 100644
--- a/src/Makefile_Elua.am
+++ b/src/Makefile_Elua.am
@@ -39,9 +39,9 @@ endif
 endif
 
 if HAVE_WIN32
-bin_elua_elua_LDADD = -L$(top_builddir)/src/lib/evil @ELUA_LIBS@
+bin_elua_elua_LDADD = -L$(top_builddir)/src/lib/evil @ELUA_LIBS@ 
@USE_ELUA_LIBS@
 else
-bin_elua_elua_LDADD = @ELUA_LIBS@
+bin_elua_elua_LDADD = @ELUA_LIBS@ @USE_ELUA_LIBS@
 endif
 bin_elua_elua_DEPENDENCIES = @ELUA_INTERNAL_LIBS@
 

-- 


Reply via email to