deskflow/subprojects/packagefiles/libportal/static-lib.diff
Nick Bolton 837bd3704b
Option to static link libportal ahead of 0.8.x distribution (#7498)
* Dirty dirty hack so that beta testers can try Wayland on server ahead of libportal 0.8.x distribution

* Install deps for subprojects that are added with --meson-no-system

* Use `RuntimeError`

* Remove `packagefiles` from `.gitignore`

* Add ignored packagefiles

* Improve comment

* Update ChangeLog
2024-09-09 17:12:20 +01:00

15 lines
464 B
Diff

diff --git a/libportal/meson.build b/libportal/meson.build
index 316bd9c..37a17f7 100644
--- a/libportal/meson.build
+++ b/libportal/meson.build
@@ -73,9 +73,8 @@ gio_unix_dep = dependency('gio-unix-2.0')
install_headers(headers, subdir: 'libportal')
-libportal = library('portal',
+libportal = static_library('portal',
src,
- version: version,
include_directories: [top_inc, libportal_inc],
install: true,
dependencies: [gio_dep, gio_unix_dep],