Ticket #52797: patch-add-relocatable_xz-nls.diff
File patch-add-relocatable_xz-nls.diff, 866 bytes (added by RJVB (René Bertin), 8 years ago) |
---|
-
src/xz/Makefile.am
old new 5 5 ## You can do whatever you want with this file. 6 6 ## 7 7 8 bin_PROGRAMS = xz 8 bin_PROGRAMS = xz xz_r 9 9 10 10 xz_SOURCES = \ 11 11 args.c \ … … 50 50 -I$(top_builddir)/lib 51 51 52 52 xz_LDADD = $(top_builddir)/src/liblzma/liblzma.la 53 xz_r_LDADD = $(top_builddir)/src/liblzma/liblzma.la 53 54 54 55 if COND_GNULIB 55 56 xz_LDADD += $(top_builddir)/lib/libgnu.a 57 xz_r_LDADD += $(top_builddir)/lib/libgnu.a 56 58 endif 57 59 58 60 # libgnu.a may need these libs, so this must be after libgnu.a. 59 61 xz_LDADD += $(LTLIBINTL) 60 62 63 xz_r_SOURCES = $(xz_SOURCES) 64 xz_r_CPPFLAGS = $(xz_CPPFLAGS) 65 xz_r_LDADD += @PREFIX@/lib/libintl.a @PREFIX@/lib/libiconv.a 66 xz_r_LDFLAGS = -static-libtool-libs -Wl,-framework -Wl,CoreFoundation 67 61 68 62 69 # Windows resource compiler support 63 70 .rc.o: