projects
/
users
/
bernd
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d2c3e4
)
Apply ranlib(1) after installing a static (.a) library on Darwin.
author
Tom Lane
<tgl@sss.pgh.pa.us>
Sat, 20 Sep 2003 21:26:20 +0000
(21:26 +0000)
committer
Tom Lane
<tgl@sss.pgh.pa.us>
Sat, 20 Sep 2003 21:26:20 +0000
(21:26 +0000)
Per past complaints --- verified to still be a problem on OS X 10.2.6.
src/Makefile.shlib
patch
|
blob
|
blame
|
history
diff --git
a/src/Makefile.shlib
b/src/Makefile.shlib
index 85872130d16bf5e6b22a8ba8c32994d156fa4e74..2b7df9728b04f4a9807c5eff18f3551c6dd6e331 100644
(file)
--- a/
src/Makefile.shlib
+++ b/
src/Makefile.shlib
@@
-304,6
+304,10
@@
install-lib: install-lib-static install-lib-shared
install-lib-static: lib$(NAME).a
$(INSTALL_STLIB) $< $(DESTDIR)$(libdir)/lib$(NAME).a
+ifeq ($(PORTNAME), darwin)
+ cd $(DESTDIR)$(libdir) && \
+ ranlib lib$(NAME).a
+endif
ifeq ($(enable_shared), yes)
install-lib-shared: $(shlib)