build: add meson dep overrides for all internal libs
This allows for subprojects to depend on the internal Lix build and have it work properly. Change-Id: Iaf05725fb95ea8abb171c71a1b17b0062c89f548
This commit is contained in:
@@ -75,6 +75,7 @@ liblixcmd = declare_dependency(
|
||||
include_directories : include_directories('../..'),
|
||||
link_with : libcmd,
|
||||
)
|
||||
meson.override_dependency('lix-cmd', liblixcmd)
|
||||
|
||||
# FIXME: not using the pkg-config module because it creates way too many deps
|
||||
# while meson migration is in progress, and we want to not include boost here
|
||||
|
||||
@@ -308,6 +308,7 @@ if is_static
|
||||
else
|
||||
liblixexpr_mstatic = liblixexpr
|
||||
endif
|
||||
meson.override_dependency('lix-expr', liblixexpr_mstatic)
|
||||
|
||||
# FIXME: not using the pkg-config module because it creates way too many deps
|
||||
# while meson migration is in progress, and we want to not include boost here
|
||||
|
||||
@@ -95,3 +95,4 @@ if is_static
|
||||
else
|
||||
liblixfetchers_mstatic = liblixfetchers
|
||||
endif
|
||||
meson.override_dependency('lix-fetchers', liblixfetchers_mstatic)
|
||||
|
||||
@@ -36,6 +36,7 @@ liblixmain = declare_dependency(
|
||||
include_directories : include_directories('../..'),
|
||||
link_with : libmain,
|
||||
)
|
||||
meson.override_dependency('lix-main', liblixmain)
|
||||
|
||||
# FIXME: not using the pkg-config module because it creates way too many deps
|
||||
# while meson migration is in progress, and we want to not include boost here
|
||||
|
||||
@@ -378,6 +378,7 @@ if is_static
|
||||
else
|
||||
liblixstore_mstatic = liblixstore
|
||||
endif
|
||||
meson.override_dependency('lix-store', liblixstore_mstatic)
|
||||
|
||||
# FIXME: not using the pkg-config module because it creates way too many deps
|
||||
# while meson migration is in progress, and we want to not include boost here
|
||||
|
||||
@@ -344,3 +344,4 @@ if is_static
|
||||
else
|
||||
liblixutil_mstatic = liblixutil
|
||||
endif
|
||||
meson.override_dependency('lix-util', liblixutil_mstatic)
|
||||
|
||||
Reference in New Issue
Block a user