[gimp/wip/Jehan/meson-windows-official: 4/14] modules: fix one more broken meson rule for directx on Windows.
- From: Jehan <jehanp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/wip/Jehan/meson-windows-official: 4/14] modules: fix one more broken meson rule for directx on Windows.
- Date: Fri, 1 Apr 2022 15:40:07 +0000 (UTC)
commit 5703b89735357c64e0112db1f5ce16ef2f4b3d29
Author: Jehan <jehan girinstud io>
Date: Wed Mar 30 21:43:13 2022 +0200
modules: fix one more broken meson rule for directx on Windows.
Fixes:
> ../modules/meson.build:87:2: ERROR: '-lrpcrt4' is not a target.
modules/meson.build | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/modules/meson.build b/modules/meson.build
index 9b50ae0174..ad16b63619 100644
--- a/modules/meson.build
+++ b/modules/meson.build
@@ -65,7 +65,8 @@ if directx.found()
'name': 'controller-dx-input',
'srcs': [ 'controller-dx-dinput.c', 'gimpinputdevicestore-dx.c', ],
'deps': directx,
- 'link': [ controller_libs, '-lrpcrt4', ],
+ 'link': [ controller_libs, ],
+ 'link-args': [ '-lrpcrt4', ],
}
endif
@@ -83,12 +84,14 @@ foreach module : modules
srcs = module.get('srcs', name + '.c')
deps = module.get('deps', [])
link = module.get('link', [])
+ link_args = module.get('link-args', [])
library(name,
srcs,
include_directories: rootInclude,
dependencies: modules_deps + [ deps ],
link_with: link,
+ link_args: link_args,
install: true,
install_dir: gimpplugindir / 'modules',
)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]