Skip to content

Commit

Permalink
Add support for Linux to library loading script in OMNeT++
Browse files Browse the repository at this point in the history
  • Loading branch information
vladamatena committed Apr 11, 2016
1 parent 837793f commit deb5408
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ public class OMNeTNative {
System.loadLibrary("libwinpthread-1");
System.loadLibrary("libgcc_s_seh-1");
System.loadLibrary("libstdc++-6");
} else if(System.getProperty("os.name").contains("Linux")) {
// Assuming Linux has its base libraries in place
} else {
throw new UnsupportedOperationException("Unsupported OS " + System.getProperty("os.name"));
}
Expand Down

0 comments on commit deb5408

Please sign in to comment.