diff --git a/package.xs b/package.xs
index c47853b9ca56e8059c2533553a21e292d5a4810c..9978fe30693147bce710bb14e4903a7a45f05278 100644 (file)
--- a/package.xs
+++ b/package.xs
/* Device types supported */
var deviceTypes = [
'k2g',
- 'c674x',
+ 'omapl138',
'c6657'
];
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()) {