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:
parent
31caa1723d
commit
90270b8e6f
@ -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'
|
||||
|
@ -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=''
|
||||
|
@ -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'
|
||||
|
@ -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=''
|
||||
|
@ -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=''
|
||||
|
@ -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=''
|
||||
|
@ -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=''
|
||||
|
Loading…
Reference in New Issue
Block a user