summaryrefslogtreecommitdiffstats
path: root/src/libs/module
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-07-25 18:43:57 +0000
committerDavid Robillard <d@drobilla.net>2007-07-25 18:43:57 +0000
commitac6d9b45093f6d304a4d32271e3636b51ccd5a47 (patch)
treee3352a2d0386304e195c3e44760fbffffa7cdfb5 /src/libs/module
parent3534ac692580a8242d8dfd917394c2c04f79e12d (diff)
downloadingen-ac6d9b45093f6d304a4d32271e3636b51ccd5a47.tar.gz
ingen-ac6d9b45093f6d304a4d32271e3636b51ccd5a47.tar.bz2
ingen-ac6d9b45093f6d304a4d32271e3636b51ccd5a47.zip
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
Diffstat (limited to 'src/libs/module')
-rw-r--r--src/libs/module/Makefile.am1
-rw-r--r--src/libs/module/module.cpp8
2 files changed, 9 insertions, 0 deletions
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 <slv2/slv2.h>
+#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;
}