From ac6d9b45093f6d304a4d32271e3636b51ccd5a47 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 25 Jul 2007 18:43:57 +0000 Subject: Distcheck fixes. Fix LV2 plugin building. Hopefully actually link against local libraries for real this time honest. Fix building w/o SLV2. Though why, I don't know ;). git-svn-id: http://svn.drobilla.net/lad/ingen@627 a436a847-0d15-0410-975c-d299462d15a1 --- src/libs/module/Makefile.am | 1 + src/libs/module/module.cpp | 8 ++++++++ 2 files changed, 9 insertions(+) (limited to 'src/libs/module') diff --git a/src/libs/module/Makefile.am b/src/libs/module/Makefile.am index 7f5865db..17e2c5fb 100644 --- a/src/libs/module/Makefile.am +++ b/src/libs/module/Makefile.am @@ -7,5 +7,6 @@ libingen_module_la_LIBADD = @RAUL_LIBS@ @GLIBMM_LIBS@ libingen_module_la_SOURCES = \ module.h \ module.cpp \ + World.hpp \ Module.hpp \ Module.cpp diff --git a/src/libs/module/module.cpp b/src/libs/module/module.cpp index 25c68c67..7f1741df 100644 --- a/src/libs/module/module.cpp +++ b/src/libs/module/module.cpp @@ -18,6 +18,11 @@ #include "module.h" #include "World.hpp" +#include "../../../../config/config.h" +#ifdef HAVE_SLV2 +#include +#endif + namespace Ingen { namespace Shared { @@ -40,7 +45,10 @@ get_world() void destroy_world() { +#ifdef HAVE_SLV2 slv2_world_free(world->slv2_world); +#endif + delete world; } -- cgit v1.2.1