Commit 3b2c2cdb authored by Alexandre Julliard's avatar Alexandre Julliard

libs: Get rid of the libwine symlinks.

parent 523e46de
...@@ -12,29 +12,15 @@ SUBDIRS = \ ...@@ -12,29 +12,15 @@ SUBDIRS = \
INSTALLSUBDIRS = \ INSTALLSUBDIRS = \
wine wine
SYMLINKS = \
libwine.$(LIBEXT)
@MAKE_RULES@ @MAKE_RULES@
ALL_SYMLINKS = $(SYMLINKS) $(SYMLINKS:.so=.so.1) $(SYMLINKS:.dylib=.1.dylib) $(SYMLINKS:.dll=.a) all: $(SUBDIRS)
all: $(SUBDIRS) $(ALL_SYMLINKS)
install-lib:: $(INSTALLSUBDIRS:%=%/__install-lib__) install-lib:: $(INSTALLSUBDIRS:%=%/__install-lib__)
install-dev:: $(INSTALLSUBDIRS:%=%/__install-dev__) install-dev:: $(INSTALLSUBDIRS:%=%/__install-dev__)
clean::
$(RM) $(ALL_SYMLINKS)
# Symlinks
libwine.so libwine.so.1 libwine.dll libwine.dylib libwine.1.dylib libwine.a: wine/libwine.$(LIBEXT)
$(RM) $@ && $(LN_S) wine/$@ $@
# Directory dependencies # Directory dependencies
wine/libwine.$(LIBEXT): wine
wine wine/__install__ wine/__install-lib__: port wine wine/__install__ wine/__install-lib__: port
### Dependencies: ### Dependencies:
...@@ -66,17 +66,17 @@ if [ "`uname -s`" = "Darwin" ] ...@@ -66,17 +66,17 @@ if [ "`uname -s`" = "Darwin" ]
then then
if [ -n "$DYLD_LIBRARY_PATH" ] if [ -n "$DYLD_LIBRARY_PATH" ]
then then
DYLD_LIBRARY_PATH="$topdir/libs:$DYLD_LIBRARY_PATH" DYLD_LIBRARY_PATH="$topdir/libs/wine:$DYLD_LIBRARY_PATH"
else else
DYLD_LIBRARY_PATH="$topdir/libs" DYLD_LIBRARY_PATH="$topdir/libs/wine"
fi fi
export DYLD_LIBRARY_PATH export DYLD_LIBRARY_PATH
else else
if [ -n "$LD_LIBRARY_PATH" ] if [ -n "$LD_LIBRARY_PATH" ]
then then
LD_LIBRARY_PATH="$topdir/libs:$LD_LIBRARY_PATH" LD_LIBRARY_PATH="$topdir/libs/wine:$LD_LIBRARY_PATH"
else else
LD_LIBRARY_PATH="$topdir/libs" LD_LIBRARY_PATH="$topdir/libs/wine"
fi fi
export LD_LIBRARY_PATH export LD_LIBRARY_PATH
fi fi
......
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