diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2002-04-27 22:17:57 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2002-04-27 22:17:57 +0000 |
commit | 30afd0dc34ec4b8eed82e154a076dbd7781b549e (patch) | |
tree | e8e603237905d1efa5fb63cefb61788a976818fb /ext/GDBM_File | |
parent | 8a31060d0e98afa6004d194f5c17a527289cb541 (diff) | |
download | perl-30afd0dc34ec4b8eed82e154a076dbd7781b549e.tar.gz |
More NetBSD patches from Johnny Lam.
Remove the need for a $prefix setting that was added in the
previous patch I sent. Also add the proper rpath options
to the linker flags depending on whether we're on a ELF or
a.out platform. These were tested both in a non-pkgsrc and
pkgsrc build.
Append to $libs instead of overwriting its value. This was
causing $(LDLOADLIBS) to not get added to the dynamic_libs
link command on NetBSD systems and was the cause of the GDBM
problems reported. Also use '$(LDLOADLIBS)' instead of
expanding its value so that it is more easily overridden in
the Makefile by "make all LDLOADLIBS=...".
Remove "-L/usr/local/lib" because the location of libgdbm.so
is already added during the Configure process, and this
spurious addition may cause the wrong libgdbm.so to be linked
against as a result.
p4raw-id: //depot/perl@16233
Diffstat (limited to 'ext/GDBM_File')
-rw-r--r-- | ext/GDBM_File/Makefile.PL | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/GDBM_File/Makefile.PL b/ext/GDBM_File/Makefile.PL index c0824c760a..ad1946733e 100644 --- a/ext/GDBM_File/Makefile.PL +++ b/ext/GDBM_File/Makefile.PL @@ -2,7 +2,7 @@ use ExtUtils::MakeMaker; use ExtUtils::Constant 0.11 'WriteConstants'; WriteMakefile( NAME => 'GDBM_File', - LIBS => ["-L/usr/local/lib -lgdbm", "-ldbm"], + LIBS => ["-lgdbm", "-ldbm"], MAN3PODS => {}, # Pods will be built by installman. XSPROTOARG => '-noprototypes', # XXX remove later? VERSION_FROM => 'GDBM_File.pm', |