[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: $cons{LIBS} and dependencies
From: |
Doug Alcorn |
Subject: |
Re: $cons{LIBS} and dependencies |
Date: |
29 Apr 2001 13:01:10 -0400 |
User-agent: |
Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Cuyahoga Valley) |
Steven Knight <address@hidden> writes:
> > $EXPORT = "$SERVERDIR/export";
> > ${$CONS}{LIBPATH} .= "$EXPORT/libs";
>
> Um... Cons also assumes that you don't have typos in your specification
> of LIBPATH... :-) Since all of your libraries below are in the
> "$EXPORT/lib" directory, you might want to remove the 's' from "libs" in
> the line above.
doh!
> $CONS->clone(
> LIBPATH => $CONS->{LIBPATH} . "$EXPORTS/libs",
> LIBS => $CONS->{LIBS} . "-lfoo -lbar -lbaz",
> CPPPATH => address@hidden>{CPPPATH}}, "#foodir", "#bardir",
> "#bazdir"],
> );
>
I would need to assign this to something like this, wouldn't I:
$CLONEDCONS = $CONS->clone(.....);
Or does the clone method use the same environment so I can just keep
on using $CONS?
--
(__) Doug Alcorn <address@hidden> http://www.lathi.net chat:address@hidden|aol
oo / PGP 02B3 1E26 BCF2 9AAF 93F1 61D7 450C B264 3E63 D543
|_/ If you're a capitalist and you have the best goods and they're
free, you don't have to proselytize, you just have to wait.