diff --git a/package.xs b/package.xs
index 412465dcda887777d1241940e966ea021a836818..9978fe30693147bce710bb14e4903a7a45f05278 100644 (file)
--- a/package.xs
+++ b/package.xs
lib = lib + "/c66";
else if ( java.lang.String(suffix).contains('674') )
lib = lib + "/c674";
-
+
+ var libProfiles = ["debug", "release"];
+ for each(var profile in libProfiles)
+ {
+ if (this.Settings.libProfile.equals(profile))
+ {
+ lib = lib + "/" + profile;
+ break;
+ }
+ }
+
+
/* Get library name with path */
lib = lib + "/" + name;
if (java.io.File(this.packageBase + lib).exists()) {