jerryscript/jerry-core/libjerry-core.pc.in
Ádám Kallai cbae33a689 Add '-flto' flag to pkg-config if the libraries built with lto (#3274)
If we build Jerry libraries with lto, this information should be
passed to pkg-config as well.

JerryScript-DCO-1.0-Signed-off-by: Adam Kallai kadam@inf.u-szeged.hu
2019-11-01 20:29:17 +01:00

13 lines
491 B
PkgConfig

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/jerryscript-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} @JERRY_CORE_PKGCONFIG_CFLAGS@