Browse Source

Fix broken resource loading

Matthias Vogelgesang 7 năm trước cách đây
mục cha
commit
5a4007e1c2
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      src/meson.build

+ 2 - 2
src/meson.build

@@ -31,7 +31,7 @@ if not cc.has_header('mkdio.h')
   error('Cannot find mkdio.h')
 endif
 
-iridium_sources += gnome.compile_resources(
+iridium_resources = gnome.compile_resources(
   'iridium-resources',
   join_paths('resources', 'iridium.gresource.xml'),
   source_dir: 'resources',
@@ -50,7 +50,7 @@ libiridium_dep = declare_dependency(
 )
 
 executable('iridium',
-  sources: ['main.c'],
+  sources: ['main.c'] + iridium_resources,
   dependencies: libiridium_dep,
   install: true,
 )