Skip to content

Commit fffba1d

Browse files
committed
Merge branch 'master' of https://github.com/RuntimeTools/appmetrics into headless
2 parents 3ebdfb2 + cf32b8e commit fffba1d

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

src/appmetrics.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -250,6 +250,8 @@ static void* getMonitorApiFunction(std::string pluginPath, std::string functionN
250250
std::string libname = "hcapiplugin.dll";
251251
#elif defined(__MACH__) || defined(__APPLE__)
252252
std::string libname = "libhcapiplugin.dylib";
253+
#elif defined (__AIX__) || defined(AIX)
254+
std::string libname = "libhcapiplugin.a";
253255
#else
254256
std::string libname = "libhcapiplugin.so";
255257
#endif
@@ -277,6 +279,8 @@ static bool initLoaderApi() {
277279
std::string libname = "agentcore.dll";
278280
#elif defined(__MACH__) || defined(__APPLE__)
279281
std::string libname = "libagentcore.dylib";
282+
#elif defined (__AIX__) || defined(AIX)
283+
std::string libname = "libagentcore.a";
280284
#else
281285
std::string libname = "libagentcore.so";
282286
#endif

0 commit comments

Comments
 (0)