Define -install_name for dynamics libraries to prevent usage of

DYLD_LIBRARY_PATH.
This commit is contained in:
Emmanuel Maillard 2004-08-12 20:02:11 +00:00 committed by Alexandre Julliard
parent a3a19355cd
commit b46202261b
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ $(LIBNAME).dll: $(OBJS) $(DEFNAME) Makefile.in
$(DLLWRAP) --def $(SRCDIR)/$(DEFNAME) -o $@ $(OBJS) $(EXTRALIBS)
$(LIBNAME).$(SOVERSION).dylib: $(OBJS) Makefile.in
$(LDSHARED) $(OBJS) $(EXTRALIBS) $(LDFLAGS) $(LIBS) -o $@
$(LDSHARED) -install_name $(libdir)/$(LIBNAME).$(SOVERSION).dylib $(OBJS) $(EXTRALIBS) $(LDFLAGS) $(LIBS) -o $@
$(LIBNAME).dylib: $(LIBNAME).$(SOVERSION).dylib
$(RM) $@ && $(LN_S) $(LIBNAME).$(SOVERSION).dylib $@