summaryrefslogtreecommitdiff
path: root/src/mbim-proxy
diff options
context:
space:
mode:
authorIñigo Martínez <inigomartinez@gmail.com>2021-10-26 10:36:09 +0200
committerIñigo Martínez <inigomartinez@gmail.com>2021-10-26 10:36:09 +0200
commitf6fbc6c2df7cf1e83f06062bb157acbf9ec9ffd8 (patch)
tree76d3cdbde245a927d35ae196e4a92d6022ca6efc /src/mbim-proxy
parent7590e349b27738cb19221ab4cacb4763d1117478 (diff)
downloadlibmbim-f6fbc6c2df7cf1e83f06062bb157acbf9ec9ffd8.tar.gz
build: Fix double quotes in rules file
`MBIM_USERNAME` is quoted twice in the `76-mbim-proxy-device-ownership.rules` rules file. This is because the definition is used in two files. The first one is `config.h` file, that is used in source code files and needs to be explicitly quoted. The second one is the rules file, mentioned above that already has quotes in the template file. The explicit quotes have been removed in the rules file generation. Fixes #21
Diffstat (limited to 'src/mbim-proxy')
-rw-r--r--src/mbim-proxy/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mbim-proxy/meson.build b/src/mbim-proxy/meson.build
index 2f976c5..c316aa6 100644
--- a/src/mbim-proxy/meson.build
+++ b/src/mbim-proxy/meson.build
@@ -16,7 +16,7 @@ if enable_mbim_username
configure_file(
input: '76-mbim-proxy-device-ownership.rules.in',
output: '@BASENAME@',
- configuration: config_h,
+ configuration: {'MBIM_USERNAME': mbim_username},
install_dir: udev_udevdir / 'rules.d',
)
endif