summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorskrll <skrll@pkgsrc.org>2001-04-25 07:27:44 +0000
committerskrll <skrll@pkgsrc.org>2001-04-25 07:27:44 +0000
commit758cdb7951d8d5d9281ae352e39355484d49a337 (patch)
tree6fe87df7e0bad2492d0b8088a88262717d7752a2
parented13d53eb42c4cea342e5568975b14d5b160b8c8 (diff)
downloadpkgsrc-758cdb7951d8d5d9281ae352e39355484d49a337.tar.gz
Replace cc with ${CC} in libtool example.
-rw-r--r--Packages.txt4
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.