Merge remote-tracking branch 'lp-make/rpath-origin' into 7.0
* lp-make/rpath-origin: makeRPath allow multiple root directories redo softIoc to be more c++y rpath $ORIGIN doc older binutils compat travis-ci test rpath $ORIGIN epicsGetExecName WIN32, Darwin, solaris, freebsd epicsGetExecDir() paths relative to executable LINKER_USE_RPATH=ORIGIN # Conflicts: # configure/os/CONFIG.Common.linuxCommon
This commit is contained in:
@@ -14,7 +14,29 @@
|
||||
#ifndef unixFileNameH
|
||||
#define unixFileNameH
|
||||
|
||||
#include <shareLib.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#define OSI_PATH_LIST_SEPARATOR ":"
|
||||
#define OSI_PATH_SEPARATOR "/"
|
||||
|
||||
/** Return the absolute path of the current executable.
|
||||
@returns NULL or the path. Caller must free()
|
||||
*/
|
||||
epicsShareFunc
|
||||
char *epicsGetExecName(void);
|
||||
|
||||
/** Return the absolute path of the directory containing the current executable.
|
||||
@returns NULL or the path. Caller must free()
|
||||
*/
|
||||
epicsShareFunc
|
||||
char *epicsGetExecDir(void);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* unixFileNameH */
|
||||
|
||||
Reference in New Issue
Block a user