Skip to content

Commit

Permalink
Merge pull request #27 from mattcolegate/AIXaFiles
Browse files Browse the repository at this point in the history
Allow loading from AIX .a shared libraries
  • Loading branch information
tobespc authored Nov 29, 2016
2 parents a5d66d9 + 3b6112d commit f13ceed
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"conditions": [
['OS=="aix"', {
"defines": [ "_AIX", "AIX" ],
"libraries": [ "-Wl,-bexpall,-brtllib,-G,-bernotok,-brtl" ],
"libraries": [ "-Wl,-bexpall,-brtllib,-G,-bernotok,-brtl,-L.,-bnoipath" ],
}],
['OS=="mac"', {
"defines": [ "__MACH__", "__APPLE__", ],
Expand Down
4 changes: 4 additions & 0 deletions src/ibmras/monitoring/agent/Agent.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,12 @@ const char* LIBSUFFIX = ".dll";
#define AGENT_DECL
const char PATHSEPARATOR = '/';
const char* LIBPREFIX = "lib";
#if defined(AIX)
const char* LIBSUFFIX = ".a";
#else
const char* LIBSUFFIX = ".so";
#endif
#endif


namespace ibmras {
Expand Down

0 comments on commit f13ceed

Please sign in to comment.