aboutsummaryrefslogtreecommitdiff
path: root/include/shlib.h
blob: e4d0d08983510b02cf3042784581a062af976ccb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef SPM_SHLIB_H
#define SPM_SHLIB_H

#ifdef __APPLE__
#define SPM_SHLIB_EXEC "/usr/bin/otool"
#define SPM_SHLIB_EXEC_ARGS "-l"
#else
#define SPM_SHLIB_EXEC "/usr/bin/objdump"
#define SPM_SHLIB_EXEC_ARGS "-p"
#endif

StrList *shlib_deps(const char *_filename);

#endif //SPM_SHLIB_H