Fix the build of C programs that link against libperl, and use the

blessed way of doing this:

   cc -o interp interp.c `perl -MExtUtils::Embed -e ccopts -e ldopts`

In order for this to work, ldopts should contain -lcrypt.

PR:		21804
Reviewed by:	markm
This commit is contained in:
Anton Berezin 2001-06-13 20:37:03 +00:00
parent 31caa1723d
commit 90270b8e6f
7 changed files with 14 additions and 14 deletions

View File

@ -532,8 +532,8 @@ known_extensions='B ByteLoader DB_File Data/Dumper Devel/DProf Devel/Peek Fcntl
ksh=''
large=''
ld='cc'
lddlflags='-Wl,-E -shared -lperl -lm '
ldflags='-Wl,-E -lperl -lm '
lddlflags='-Wl,-E -shared -lperl -lm -lcrypt '
ldflags='-Wl,-E -lperl -lm -lcrypt '
ldlibpthname='LD_LIBRARY_PATH'
less='less'
lib_ext='.a'

View File

@ -411,8 +411,8 @@ known_extensions='B DB_File Data/Dumper Fcntl GDBM_File IO IPC/SysV NDBM_File OD
ksh=''
large=''
ld='cc'
lddlflags='-Wl,-E -shared -lperl -lm '
ldflags='-Wl,-E -lperl -lm '
lddlflags='-Wl,-E -shared -lperl -lm -lcrypt '
ldflags='-Wl,-E -lperl -lm -lcrypt '
less='less'
lib_ext='.a'
libc=''

View File

@ -532,8 +532,8 @@ known_extensions='B ByteLoader DB_File Data/Dumper Devel/DProf Devel/Peek Fcntl
ksh=''
large=''
ld='cc'
lddlflags='-Wl,-E -shared -lperl -lm '
ldflags='-Wl,-E -lperl -lm '
lddlflags='-Wl,-E -shared -lperl -lm -lcrypt '
ldflags='-Wl,-E -lperl -lm -lcrypt '
ldlibpthname='LD_LIBRARY_PATH'
less='less'
lib_ext='.a'

View File

@ -411,8 +411,8 @@ known_extensions='B DB_File Data/Dumper Fcntl GDBM_File IO IPC/SysV NDBM_File OD
ksh=''
large=''
ld='cc'
lddlflags='-Wl,-E -shared -lperl -lm '
ldflags='-Wl,-E -lperl -lm '
lddlflags='-Wl,-E -shared -lperl -lm -lcrypt '
ldflags='-Wl,-E -lperl -lm -lcrypt '
less='less'
lib_ext='.a'
libc=''

View File

@ -411,8 +411,8 @@ known_extensions='B DB_File Data/Dumper Fcntl GDBM_File IO IPC/SysV NDBM_File OD
ksh=''
large=''
ld='cc'
lddlflags='-Wl,-E -shared -lperl -lm '
ldflags='-Wl,-E -lperl -lm '
lddlflags='-Wl,-E -shared -lperl -lm -lcrypt '
ldflags='-Wl,-E -lperl -lm -lcrypt '
less='less'
lib_ext='.a'
libc=''

View File

@ -411,8 +411,8 @@ known_extensions='B DB_File Data/Dumper Fcntl GDBM_File IO IPC/SysV NDBM_File OD
ksh=''
large=''
ld='cc'
lddlflags='-Wl,-E -shared -lperl -lm '
ldflags='-Wl,-E -lperl -lm '
lddlflags='-Wl,-E -shared -lperl -lm -lcrypt '
ldflags='-Wl,-E -lperl -lm -lcrypt '
less='less'
lib_ext='.a'
libc=''

View File

@ -411,8 +411,8 @@ known_extensions='B DB_File Data/Dumper Fcntl GDBM_File IO IPC/SysV NDBM_File OD
ksh=''
large=''
ld='cc'
lddlflags='-Wl,-E -shared -lperl -lm '
ldflags='-Wl,-E -lperl -lm '
lddlflags='-Wl,-E -shared -lperl -lm -lcrypt '
ldflags='-Wl,-E -lperl -lm -lcrypt '
less='less'
lib_ext='.a'
libc=''