diff options
author | Brendan Long <self@brendanlong.com> | 2018-04-22 21:08:59 +0300 |
---|---|---|
committer | Brendan Long <self@brendanlong.com> | 2018-11-22 19:54:44 +0300 |
commit | fd8f1b9fa91ad1d0cfd8f792962ea4258eb2aef8 (patch) | |
tree | c2e06617c24f42f5850a873af388b3cabf801ea5 /meson.build | |
parent | e1b897340356fd4b9f30aaa33e2abc13c3a93f5a (diff) |
Only have one main function
Don't link a main function into the shared lib
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/meson.build b/meson.build index 7458ed43..88b28333 100644 --- a/meson.build +++ b/meson.build @@ -264,7 +264,7 @@ else message('libUnity support OFF') endif -# Creating an executable file +# The shared lib for plugins feedreader_lib = shared_library( 'FeedReader', vala_sources, @@ -286,15 +286,13 @@ subdir('po') # Create an executable file executable( 'feedreader', - UI_RESOURCES, + UI_RESOURCES + ['src/FeedReaderMain.vala'], + c_args: c_args, + vala_args: vala_args, link_with: [ feedreader_lib ], - dependencies: [ - gtkimageview_vapi, - htmlclean_vapi, - webkit2gtk - ], + dependencies: feedreader_deps, install: true ) |