mirror of https://github.com/FreeRDP/FreeRDP
Merge pull request #277 from bmiklautz/osx_plugin_load_fix
libfreerdp-utils/core: use "dylib" as plugin extension on OSX
This commit is contained in:
commit
9fbeebe77a
|
@ -39,7 +39,13 @@
|
|||
#define DLSYM(f, n) dlsym(f, n)
|
||||
#define DLCLOSE(f) dlclose(f)
|
||||
#define PATH_SEPARATOR '/'
|
||||
|
||||
#ifdef __APPLE__
|
||||
#define PLUGIN_EXT "dylib"
|
||||
#else
|
||||
#define PLUGIN_EXT "so"
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
static uint32 FREERDP_CC extension_register_plugin(rdpExtPlugin* plugin)
|
||||
|
|
|
@ -40,7 +40,12 @@
|
|||
#define DLSYM(f, n) dlsym(f, n)
|
||||
#define DLCLOSE(f) dlclose(f)
|
||||
#define PATH_SEPARATOR '/'
|
||||
|
||||
#ifdef __APPLE__
|
||||
#define PLUGIN_EXT "dylib"
|
||||
#else
|
||||
#define PLUGIN_EXT "so"
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue