On Thu, 7 Jul 2011, Diego Biurrun wrote:

> On Thu, Jul 07, 2011 at 09:48:08AM +0300, Martin Storsjö wrote:
> > The .def file is useful for creating import libraries that
> > work better with MSVC than the ones created by dlltool.
> > 
> > The .def files are installed into the lib directory - there
> > doesn't seem to be any common practice for where these are
> > installed.
> > ---
> > Would the bin directory be a better choice, since the DLLs
> > themselves are installed there?
> 
> Where do other projects install the .def files?  What does autotools do?

Autotools don't install the .def file. The zlib official binary package 
ships it in lib.

> > --- a/configure
> > +++ b/configure
> > @@ -2423,7 +2423,8 @@ case $target_os in
> >          SLIB_INSTALL_EXTRA_CMD='-install -m 644 
> > $(SUBDIR)$(SLIBNAME_WITH_MAJOR:$(SLIBSUF)=.lib) 
> > "$(SHLIBDIR)/$(SLIBNAME:$(SLIBSUF)=.lib)"; \
> >              install -m 644 $(SUBDIR)$(SLIBNAME_WITH_MAJOR:$(SLIBSUF)=.lib) 
> > "$(SHLIBDIR)/$(SLIBNAME_WITH_MAJOR:$(SLIBSUF)=.lib)"; \
> >              install -d "$(LIBDIR)"; \
> > -            install -m 644 $(SUBDIR)lib$(SLIBNAME:$(SLIBSUF)=.dll.a) 
> > "$(LIBDIR)/lib$(SLIBNAME:$(SLIBSUF)=.dll.a)"'
> > +            install -m 644 $(SUBDIR)lib$(SLIBNAME:$(SLIBSUF)=.dll.a) 
> > "$(LIBDIR)/lib$(SLIBNAME:$(SLIBSUF)=.dll.a)"; \
> > +            install $(SUBDIR)$(SLIBNAME_WITH_MAJOR:$(SLIBSUF)=.def) 
> > "$(LIBDIR)/$(SLIBNAME_WITH_MAJOR:$(SLIBSUF)=.def)"'
> 
> You are missing the permissions.

Fixed locally.

// Martin
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to