@@ -26,6 +26,11 @@
#include <objc/objc.h>
+const char *get_module_extension(void)
+{
+ return ".so";
+}
+
// support both foo.so and libfoo.so for now
static const char *plugin_patterns[] = {
OBS_INSTALL_PREFIX "obs-plugins/%s.so",
@@ -23,6 +23,7 @@
#include "obs-module.h"
extern char *find_plugin(const char *plugin);
+extern const char *get_module_extension(void);
static inline int req_func_not_found(const char *name, const char *path)
{
@@ -24,6 +24,11 @@
#include "util/dstr.h"
#include "obs.h"
static inline bool check_path(const char* data, const char *path,
struct dstr * output)
@@ -22,6 +22,11 @@
#include <windows.h>
+ return ".dll";