summarylogtreecommitdiffstats
path: root/fix-meson-no-install.patch
blob: 2e67682b4e62aa4e5fcb0f296473be2cff70a993 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
diff --git a/example/oomd.json b/example/oomd.json
index 664aed5..859f4ba 100644
--- a/example/oomd.json
+++ b/example/oomd.json
@@ -7,7 +7,7 @@
                 {"sshd.service": { "max_usage": "inf" } }
             ],
             "oomdetector": "default",
-            "oomkiller": "fbje"
+            "oomkiller": "default"
         },
         {
             "target": "workload.slice",
diff --git a/meson.build b/meson.build
index f12f067..2842453 100644
--- a/meson.build
+++ b/meson.build
@@ -39,14 +39,16 @@ srcs = files('''
 
 deps = [dependency('jsoncpp'),
         dependency('threads')]
-oomd_lib = library('oomd',
+oomd_lib = shared_library('oomd',
                    srcs,
                    include_directories : inc,
+                   install: true,
                    dependencies : deps)
 executable('oomd_bin',
            files('Main.cpp'),
            include_directories : inc,
            dependencies : deps,
+           install: true,
            link_with : oomd_lib)
 
 gtest_dep = dependency('gtest', main : true, required : false)