pkg-config extension

This commit is contained in:
Hunter 2024-09-29 10:39:24 -04:00
parent fc1964f766
commit 3183c676de
6 changed files with 92 additions and 23 deletions

View file

@ -1,5 +1,6 @@
grbc_want_version("1.0")
grbc_load_platform("platform.hcfg")
grbc_ext("GRBC_EXT_pkg_config")
local grbc_pkg_config_ext = grbc_library(LibraryConfig.new({
name = "libgrbc_pkg_config",
@ -74,12 +75,7 @@ local grbc_exe = grbc_executable(ExecutableConfig.new({
},
requirements = {
Package.new({
name = "lua",
compiler_flags = "",
linker_flags = "-llua -lm -ldl"
}),
grbc_pkg_config("lua"),
grbc_pkg("libgrbc"),
grbc_pkg("libgrbc_pkg_config")
},