Skip to content
  • Mihail Konev's avatar
    os,dix: Depend custom libs on libs, not objects · 5b74e260
    Mihail Konev authored and Adam Jackson's avatar Adam Jackson committed
    
    
    The custom os/os.O library reuses *.o files of os/libos.la.
    
    The current rule assumes automake puts all the objects into per-target
    am__*_la_OBJECTS variable.  At least with AC_REPLACE_FUNCS, this no
    longer holds (as wanted objects are put into LTLIBOBJS instead).
    
    Depend on automake's result, the *.la library instead, to express demand
    of any its dependencies being built.
    
    Should be fixing randomly occuring "undefined reference to `strlcpy'"
    errors when linking Xvfb and other DDX-es that could use os.O.
    
    Reviewed-by: default avatarAdam Jackson <ajax@redhat.com>
    Signed-off-by: default avatarMihail Konev <k.mvc@ya.ru>
    5b74e260