mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-02-17 16:10:24 +08:00
[svn-r2745] Purpose:
Bug fix...I hope Description: For some reason, libtool wasn't generating a .lai library file in the .libs directory. It needs this to install things, apparently. Solution: Major hack! I force a ln to the "real" one libtools wants. Platforms tested: Modi4
This commit is contained in:
parent
592f0fc876
commit
78365de55f
@ -45,10 +45,11 @@ docdir=@exec_prefix@/doc
|
||||
PUB_LIB=$(LIB)
|
||||
|
||||
## Shared libraries
|
||||
LT_STATIC_LIB=@LT_STATIC_LIB@
|
||||
DYNAMIC_DIRS=@DYNAMIC_DIRS@
|
||||
LT=$(top_builddir)/libtool
|
||||
LT_CCOMPILE=$(LT) --mode=compile $(CC)
|
||||
LT_LINK_CLIB=$(LT) --mode=link $(CC) -rpath $(libdir)
|
||||
LT_LINK_CLIB=$(LT) --mode=link $(CC) $(LT_STATIC_LIB) -rpath $(libdir)
|
||||
LT_LINK_CEXE=$(LT) --mode=link $(CC) $(DYNAMIC_DIRS) -rpath $(bindir)
|
||||
LT_RUN=$(LT) --mode=execute
|
||||
LT_INSTALL_PROG=$(LT) --mode=install $(INSTALL_PROGRAM)
|
||||
|
@ -62,6 +62,7 @@ $(DOCDIR):
|
||||
install: $(PUB_LIB) $(PUB_HDR) $(PUB_PROGS) $(libdir) $(includedir) $(bindir)
|
||||
@for f in X $(PUB_LIB); do \
|
||||
if test $$f != X; then \
|
||||
(cd .libs && rm -f $(PUB_LIB)i && ln -s ../$(PUB_LIB) $(PUB_LIB)i); \
|
||||
($(LT_INSTALL_LIB) $$f $(libdir)/. || exit 1); \
|
||||
fi; \
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user