Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix so that no dynamic loading of catalog backends works again.
  • Loading branch information
Marco van Wieringen committed Feb 17, 2015
1 parent 875833c commit dd2dd9d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/cats/cats_backends.c
Expand Up @@ -27,9 +27,12 @@

#include "bareos.h"

#if defined(HAVE_DYNAMIC_CATS_BACKENDS)
#if HAVE_SQLITE3 || HAVE_MYSQL || HAVE_POSTGRESQL || HAVE_INGRES || HAVE_DBI

#include "cats.h"

#if defined(HAVE_DYNAMIC_CATS_BACKENDS)

#include "cats_backends.h"
#include <dlfcn.h>

Expand Down Expand Up @@ -243,3 +246,4 @@ void db_flush_backends(void)
{
}
#endif /* HAVE_DYNAMIC_CATS_BACKENDS */
#endif /* HAVE_SQLITE3 || HAVE_MYSQL || HAVE_POSTGRESQL || HAVE_INGRES || HAVE_DBI */

0 comments on commit dd2dd9d

Please sign in to comment.