diff options
author | joerg <joerg> | 2009-11-26 00:10:42 +0000 |
---|---|---|
committer | joerg <joerg> | 2009-11-26 00:10:42 +0000 |
commit | 2871b5cc97cfc2c01e4de708dac618a019bf37e7 (patch) | |
tree | f63e54e874a677fc840b51de2cecc48005d65e55 /editors/pico/Makefile | |
parent | d9fb83152044ea93cae48419ffd49893e15b3999 (diff) | |
download | pkgsrc-2871b5cc97cfc2c01e4de708dac618a019bf37e7.tar.gz |
Always use correct --mode argument for libtool.
Diffstat (limited to 'editors/pico/Makefile')
-rw-r--r-- | editors/pico/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/editors/pico/Makefile b/editors/pico/Makefile index e9042c46e16..0fa7177983c 100644 --- a/editors/pico/Makefile +++ b/editors/pico/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.76 2009/05/19 08:59:12 wiz Exp $ +# $NetBSD: Makefile,v 1.77 2009/11/26 00:10:42 joerg Exp $ # # NOTE: # When updating, it is necessary to change the shlib version, located in @@ -57,7 +57,8 @@ post-extract: do-build: @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ./build ${BUILDNAME} \ - CC="${LIBTOOL} ${CC}" \ + CC="${LIBTOOL} --mode=compile ${CC}" \ + LDCC="${LIBTOOL} --mode=link ${CC}" \ PREFIX=${PREFIX} OPTIMIZE="${CFLAGS}" \ EXTRALDFLAGS="${LIBS}" |