Commit c6476e90 authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

Warn the user if 'wine' will not find its libraries after installation

on 'make install'.
parent 978a9342
......@@ -20,6 +20,7 @@ SRCDIR = @srcdir@
VPATH = @srcdir@
LIBEXT = @LIBEXT@
LDCONFIG = @LDCONFIG@
LDD = @LDD@
MODULE = none
# Sub-directories containing stand-alone programs
......@@ -72,6 +73,17 @@ wine: $(WINEWRAPPER)
install:: all $(SUBDIRS:%=%/__install__)
-$(LDCONFIG)
@if test -n "`LANG=C $(LDD) $(bindir)/wine|grep not.found`"; \
then \
echo "*************************************************" ; \
echo "*************************************************" ; \
echo "The installed Wine libraries will not be found!" ; \
echo "You can either:" ; \
echo " Add the line '$(libdir)' to /etc/ld.so.conf" ; \
echo ' export LD_LIBRARY_PATH=$$LD_LIBRARY_PATH:$(libdir)' ; \
echo "*************************************************" ; \
echo "*************************************************" ; \
fi
uninstall:: $(SUBDIRS:%=%/__uninstall__)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment