diff options
author | skrll <skrll> | 2001-04-25 07:27:44 +0000 |
---|---|---|
committer | skrll <skrll> | 2001-04-25 07:27:44 +0000 |
commit | c1a842f6e334cc860f380ead9432bc50eb75c8ab (patch) | |
tree | 6fe87df7e0bad2492d0b8088a88262717d7752a2 /Packages.txt | |
parent | ebad7ad8697bf3a0d2411a5f60964ab3b34fe112 (diff) | |
download | pkgsrc-c1a842f6e334cc860f380ead9432bc50eb75c8ab.tar.gz |
Replace cc with ${CC} in libtool example.
Diffstat (limited to 'Packages.txt')
-rw-r--r-- | Packages.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Packages.txt b/Packages.txt index d83a4d1f9ce..1f2f6afbc65 100644 --- a/Packages.txt +++ b/Packages.txt @@ -1,4 +1,4 @@ -# $NetBSD: Packages.txt,v 1.151 2001/04/17 12:50:04 agc Exp $ +# $NetBSD: Packages.txt,v 1.152 2001/04/25 07:27:44 skrll Exp $ ########################################################################### ========================== @@ -914,7 +914,7 @@ Here's how to use libtool in a pkg in seven simple steps: 3. For the linking of the library, remove any "ar", "ranlib", and "ld -Bshareable" commands, and use instead: - ${LIBTOOL} --mode=link cc -o ${.TARGET:.a=.la} ${OBJS:.o=.lo} -rpath ${PREFIX}/lib -version-info major:minor + ${LIBTOOL} --mode=link ${CC} -o ${.TARGET:.a=.la} ${OBJS:.o=.lo} -rpath ${PREFIX}/lib -version-info major:minor Note that the library is changed to have a .la extension, and the objects are changed to have a .lo extension. Change OBJS as necessary. |