ide: fix generated <compiler>.cf file to not define USE_RESOURCES_EAR when STATIC_LIB...
authorRejean Loyer <redj@ecere.com>
Wed, 27 Jul 2016 02:29:01 +0000 (22:29 -0400)
committerJerome St-Louis <jerome@ecere.com>
Thu, 28 Jul 2016 22:23:37 +0000 (18:23 -0400)
ide/src/project/Project.ec

index 95c1107..15983f9 100644 (file)
@@ -2513,7 +2513,11 @@ private:
 
             f.Puts("# OPTIONS\n");
             if(compiler.resourcesDotEar)
-               f.Puts("USE_RESOURCES_EAR := defined\n");
+            {
+               f.Puts("ifndef STATIC_LIBRARY_TARGET\n");
+               f.Puts("   USE_RESOURCES_EAR := defined\n");
+               f.Puts("endif\n");
+            }
             f.Puts("\n");
 
             f.Puts("# EXTENSIONS\n");