diff options
Diffstat (limited to 'include/shlib.h')
-rw-r--r-- | include/shlib.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/include/shlib.h b/include/shlib.h new file mode 100644 index 0000000..3489443 --- /dev/null +++ b/include/shlib.h @@ -0,0 +1,14 @@ +#ifndef SPM_SHLIB_H +#define SPM_SHLIB_H + +#ifdef __APPLE__ +#define SPM_SHLIB_EXEC "otool" +#define SPM_SHLIB_EXEC_ARGS "-l" +#else +#define SPM_SHLIB_EXEC "objdump" +#define SPM_SHLIB_EXEC_ARGS "-p" +#endif + +StrList *shlib_deps(const char *_filename); + +#endif //SPM_SHLIB_H |