Skip to content

Commit

Permalink
Update glib prefab dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
ViliusSutkus89 committed Nov 12, 2023
1 parent 9a5ca5e commit 6e8573f
Showing 1 changed file with 13 additions and 11 deletions.
24 changes: 13 additions & 11 deletions glib2/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -121,50 +121,52 @@ tasks.prefabPackage {
licensePath.set("COPYING")

modules {
val isStatic = project.findProperty("libraryType") == "static"
create("glib-2.0") {
includesPerAbi.set(true)
static.set(project.findProperty("libraryType") == "static")
static.set(isStatic)
dependencies.set(listOf(
"//proxy-libintl:intl",
"m",
"//libiconv:iconv",
"//pcre2:pcre2-8"
"//pcre2:pcre2-8",
"//libffi:ffi",
))
}
create("gio-2.0") {
includesPerAbi.set(true)
static.set(project.findProperty("libraryType") == "static")
static.set(isStatic)
dependencies.set(listOf(
"//proxy-libintl:intl",
":glib-2.0",
":gobject-2.0",
":gmodule-no-export-2.0",
":gmodule-2.0",
"z",
"//proxy-libintl:intl"
))
}
create("gmodule-2.0") {
includesPerAbi.set(true)
static.set(project.findProperty("libraryType") == "static")
static.set(isStatic)
dependencies.set(listOf(
":gmodule-no-export-2.0",
"//proxy-libintl:intl",
":glib-2.0",
))
}
create("gobject-2.0") {
includesPerAbi.set(true)
static.set(project.findProperty("libraryType") == "static")
static.set(isStatic)
dependencies.set(listOf(
"//proxy-libintl:intl",
":glib-2.0",
"//libffi:ffi",
"//proxy-libintl:intl"
))
}
create("gthread-2.0") {
includesPerAbi.set(true)
static.set(project.findProperty("libraryType") == "static")
static.set(isStatic)
dependencies.set(listOf(
"//proxy-libintl:intl",
":glib-2.0",
"//proxy-libintl:intl"
))
}
}
Expand Down

0 comments on commit 6e8573f

Please sign in to comment.