Skip to content

Commit

Permalink
Allow loading from AIX .a shared libraries
Browse files Browse the repository at this point in the history
  • Loading branch information
mattcolegate committed Nov 28, 2016
1 parent a5d66d9 commit 3b6112d
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 3b6112d

Please sign in to comment.