Add pkg-config metadata files for libraries (#2680)
Should core, ext, libm, and/or port libraries be properly installed on some system, help compilation and linking against them by providing standard `.pc` files, which can be picked up by pkg-config. JerryScript-DCO-1.0-Signed-off-by: Akos Kiss akiss@inf.u-szeged.hu
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
prefix=@CMAKE_INSTALL_PREFIX@
|
||||
libdir=${prefix}/lib
|
||||
includedir=${prefix}/include
|
||||
|
||||
Name: libjerry-core
|
||||
Description: JerryScript: lightweight JavaScript engine (core engine library)
|
||||
URL: https://github.com/pando-project/jerryscript
|
||||
Version: 1.0
|
||||
Requires.private: @JERRY_CORE_PKGCONFIG_REQUIRES@ # NOTE: libjerry-port-default* is not added as a required package
|
||||
Libs: -L${libdir} -ljerry-core
|
||||
Libs.private: @JERRY_CORE_PKGCONFIG_LIBS@
|
||||
Cflags: -I${includedir}
|
||||
Reference in New Issue
Block a user