buildsystem,epj2make,ide; (#973) use -L rather than -Wl,--library-path in makefile...
[sdk] / ide / src / project / Project.ec
index c6b3fc0..1ab0083 100644 (file)
@@ -632,7 +632,7 @@ enum LineOutputMethod { inPlace, newLine, lineEach };
 enum StringOutputMethod { asIs, escape, escapePath};
 
 enum ToolchainFlag { any, _D, _I, _isystem, _Wl, _L/*, _Wl-rpath*/ };
-String flagNames[ToolchainFlag] = { "", "-D", "-I", "-isystem ", "-Wl,", "-Wl,--library-path="/*, "-Wl,-rpath "*/ };
+String flagNames[ToolchainFlag] = { "", "-D", "-I", "-isystem ", "-Wl,", /*"-Wl,--library-path="*/"-L"/*, "-Wl,-rpath "*/ };
 void OutputFlags(File f, ToolchainFlag flag, Array<String> list, LineOutputMethod lineMethod)
 {
    if(list.count)
@@ -1543,6 +1543,7 @@ private:
       DynamicString strip { };
       DynamicString ar { };
       DynamicString windres { };
+
       /*
       if(bitDepth == 64 && compiler.targetPlatform == win32) 
          gnuToolchainPrefix = "x86_64-w64-mingw32-";
@@ -1987,6 +1988,7 @@ private:
       delete cxx;
       delete strip;
       delete ar;
+      delete windres;
 
       return numErrors == 0 && !ide.projectView.stopBuild;
    }