PRSDK-3513 Updated example config file to load McBSP library
[keystone-rtos/mcbsp-lld.git] / package.xs
index 412465dcda887777d1241940e966ea021a836818..9978fe30693147bce710bb14e4903a7a45f05278 100644 (file)
@@ -50,7 +50,18 @@ function getLibs(prog)
         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()) {