BaseTools/Conf/build_rule.template:
authorjljusten <jljusten@de2fecce-e211-0410-80a6-f3fac2684e05>
Mon, 29 Oct 2007 18:34:07 +0000 (18:34 +0000)
committerjljusten <jljusten@de2fecce-e211-0410-80a6-f3fac2684e05>
Mon, 29 Oct 2007 18:34:07 +0000 (18:34 +0000)
  Fixes for GCC toolpath on unix.  (Changes tested on OS X).

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@4233 de2fecce-e211-0410-80a6-f3fac2684e05

edk2/BaseTools/Conf/build_rule.template

index 5c22a0b..ba9d480 100644 (file)
 #        "$(SLINK)" -cr ${dst} $(SLINK_FLAGS) ${src1} -( ${src2} -)\r
 #\r
 [Build.Static-Library-File]\r
-    <InputFile>\r
+    <InputFile.MSFT, InputFile.Intel>\r
         ?.lib\r
         $(LIBS)\r
         $(MODULE_BUILD_DIR)\Makefile\r
 \r
+    <InputFile.GCC>\r
+        ?.lib\r
+        $(LIBS)\r
+        $(MODULE_BUILD_DIR)/GNUmakefile\r
+\r
     <OutputFile>\r
         $(DEBUG_DIR)(+)$(MODULE_NAME).dll\r
 \r
         "$(DLINK)" /OUT:${dst} $(DLINK_FLAGS) $(DLINK_SPATH) $(LIBS) ${src}\r
 \r
     <Command.GCC>\r
-        "$(DLINK)" -o ${dst} $(DLINK_FLAGS) -( $(DLINK_SPATH) $(LIBS) ${src} -)\r
+        "$(DLINK)" -o ${dst} $(DLINK_FLAGS) -\( $(DLINK_SPATH) $(LIBS) ${src} -\)\r
 \r
 [Build.Dynamic-Library-File]\r
     <InputFile>\r