Ticket #52797: patch-add-relocatable_xz.diff

File patch-add-relocatable_xz.diff, 552 bytes (added by RJVB (René Bertin), 8 years ago)

add an xz_r build target (requires running the included autogen.sh)

  • src/xz/Makefile.am

    old new  
    55## You can do whatever you want with this file.
    66##
    77
    8 bin_PROGRAMS = xz
     8bin_PROGRAMS = xz xz_r
    99
    1010xz_SOURCES = \
    1111        args.c \
     
    5858# libgnu.a may need these libs, so this must be after libgnu.a.
    5959xz_LDADD += $(LTLIBINTL)
    6060
     61xz_r_SOURCES = $(xz_SOURCES)
     62xz_r_CPPFLAGS = $(xz_CPPFLAGS)
     63xz_r_LDADD = $(xz_LDADD)
     64xz_r_LDFLAGS = -static-libtool-libs
     65
    6166
    6267# Windows resource compiler support
    6368.rc.o: