fix: build failed using --prefix=/

master
szaka 2008-07-12 14:53:46 +00:00
parent 6d97008d04
commit 933ac7f054
1 changed files with 3 additions and 3 deletions

View File

@ -54,15 +54,15 @@ endif
# And create ldscript or symbolic link from /usr
install-exec-hook: install-rootlibLTLIBRARIES
if INSTALL_LIBRARY
if [ "$(rootlibdir)" != "$(libdir)" ]; then \
if [ ! "$(rootlibdir)" -ef "$(libdir)" ]; then \
$(MV) -f "$(DESTDIR)/$(libdir)"/libntfs-3g.so* "$(DESTDIR)/$(rootlibdir)"; \
fi
if GENERATE_LDSCRIPT
if [ "$(rootlibdir)" != "$(libdir)" ]; then \
if [ ! "$(rootlibdir)" -ef "$(libdir)" ]; then \
$(install_sh_PROGRAM) "libntfs-3g.script.so" "$(DESTDIR)/$(libdir)/libntfs-3g.so"; \
fi
else
if [ "$(rootlibdir)" != "$(libdir)" ]; then \
if [ ! "$(rootlibdir)" -ef "$(libdir)" ]; then \
$(LN_S) "$(rootlibdir)/libntfs-3g.so" "$(DESTDIR)/$(libdir)/libntfs-3g.so"; \
fi
endif