Преглед на файлове

* better gcclib dir detection

peter преди 26 години
родител
ревизия
686695ca59
променени са 1 файла, в които са добавени 5 реда и са изтрити 2 реда
  1. 5 2
      base/makefile.fpc

+ 5 - 2
base/makefile.fpc

@@ -365,7 +365,7 @@ endif
 # On linux, try to find where libgcc.a is.
 ifdef inlinux
 ifndef GCCLIBDIR
-GCCLIBDIR:=$(shell dirname `(gcc -v 2>&1)| awk -F' ' '{  print $$4 } '`)
+GCCLIBDIR:=$(shell dirname `(gcc -v 2>&1)| head -n 1| awk '{ print $$4 } '`)
 endif
 endif
 
@@ -1001,7 +1001,10 @@ endif
 
 #
 # $Log$
-# Revision 1.17  1999-04-20 12:33:32  michael
+# Revision 1.18  1999-04-29 15:52:38  peter
+#   * better gcclib dir detection
+#
+# Revision 1.17  1999/04/20 12:33:32  michael
 # + Fixed GCCLIB detection. Added fpc_dirinfo target
 #
 # Revision 1.16  1999/04/20 12:07:49  michael