[lazarus] Lazarus how-to 0.2

Peter Vreman pfv at cooldown.demon.nl
Fri May 14 18:18:06 EDT 1999


> >Here's a simple patch to makefile.fpc that gets rid of comment lines in
> >ld.so.conf when building a list of library directories for the compiler.
> 
> Hmmm, interesting...
> 
> Who put those comments ?
> _
> >--- makefile.fpc.orig   Sat May 15 00:46:06 1999
> >+++ makefile.fpc        Sat May 15 00:50:32 1999
> >@@ -15,7 +15,6 @@
> > #####################################################################
> > # Force default settings
> > #####################################################################
> >-
> > # Latest release version
> > override RELEASEVER:=0.99.11
> >
> >@@ -355,7 +354,7 @@
> > GCCLIBDIR:=$(shell dirname `(gcc -v 2>&1)| head -n 1| awk '{ print $$4
> >} '`)
> > endif
> > ifndef OTHERLIBDIR
> >-OTHERLIBDIR:=$(shell cat /etc/ld.so.conf | awk '{ ORS=" "; print $1 }')
> >+OTHERLIBDIR:=$(shell grep -v "^\#" /etc/ld.so.conf | awk '{ ORS=" ";
> >print $1 }')
> > endif
> > endif
Added to makefile.fpc

Peter







More information about the Lazarus mailing list