Kaydet (Commit) ca3a68c7 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

Look for .dylib on OS X, but ...

... note that the LibreOfficeKit bits aren't built for OS X. I don't
recall if there is some fundamental reason why not. Was it so that for
OS X, like for iOS, a "virtual device" should be created with a
CGContext and not a pixmap buffer?

Change-Id: I6e1fedb89e7fe409baf2ea1ac7f3b65b0f1c776b
üst f3eeda3b
...@@ -28,8 +28,13 @@ extern "C" ...@@ -28,8 +28,13 @@ extern "C"
#ifdef _AIX #ifdef _AIX
# include <sys/ldr.h> # include <sys/ldr.h>
#endif #endif
#define TARGET_LIB "lib" "sofficeapp" ".so" #ifdef __APPLE__
#define TARGET_MERGED_LIB "lib" "mergedlo" ".so" #define TARGET_LIB "lib" "sofficeapp" ".dylib"
#define TARGET_MERGED_LIB "lib" "mergedlo" ".dylib"
#else
#define TARGET_LIB "lib" "sofficeapp" ".so"
#define TARGET_MERGED_LIB "lib" "mergedlo" ".so"
#endif
#define SEPERATOR '/' #define SEPERATOR '/'
void *_dlopen(const char *pFN) void *_dlopen(const char *pFN)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment