Skip to content

Commit

Permalink
For libdb.a - use a relative path $(TOPLIBD)/libdb.a instead of -ldb
Browse files Browse the repository at this point in the history
to prevent getting the system installed libdb.so on the Alpha.

(Under DU 4.0 ld will scan the library search path - including -L paths
for .so files, failing to find any will then look for the .a one.
I think this is broken as you should take the first .so or .a file found)


git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9260 dc483132-0cff-0310-8789-dd5450dbe970
  • Loading branch information
epeisach committed Oct 31, 1996
1 parent 8585349 commit 8d2dca0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions src/ChangeLog
@@ -1,3 +1,7 @@
Thu Oct 31 10:57:29 1996 Ezra Peisach <epeisach@trane.rose.brandeis.edu>

* aclocal.m4 (db_lib): Use relative path to libdb.a file.

Mon Oct 21 21:19:53 1996 Tom Yu <tlyu@mit.edu>

* aclocal.m4: Fix CopySrcHeader and CopyHeader so they actually
Expand Down
2 changes: 1 addition & 1 deletion src/aclocal.m4
Expand Up @@ -789,7 +789,7 @@ db_deplib=''
db_lib=''
define(USE_DB_LIBRARY,[
db_deplib="\[$](TOPLIBD)/libdb.a"
db_lib=-ldb
db_lib="\[$](TOPLIBD)/libdb.a"
])
dnl
dnl This rule generates library lists for programs.
Expand Down

0 comments on commit 8d2dca0

Please sign in to comment.