~ken-vandine/mir/trunk-touchpad_pointer

« back to all changes in this revision

Viewing changes to examples/mir_demo_server_loader.cpp

  • Committer: Daniel van Vugt
  • Author(s): Alan Griffiths
  • Date: 2015-08-12 08:38:34 UTC
  • mfrom: (2825.2.7 mir3)
  • Revision ID: daniel.van.vugt@canonical.com-20150812083834-ko982guztvecwi06
examples: remove mir_demo_server_loader and make mir_demo_server
dynamically load Mir

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
int main(int argc, char const* argv[])
30
30
try
31
31
{
32
 
    auto const so = dlopen(library, RTLD_NOW|RTLD_LOCAL);
 
32
    auto const so = dlopen(library, RTLD_LAZY|RTLD_LOCAL);
33
33
    if (!so) throw std::runtime_error(dlerror());
34
34
 
35
35
    int (*loaded_main)(int, char const*[]){nullptr};