SHA256
1
0
forked from pool/aegisub
aegisub/aegisub-2.1.9-underlinking.patch

27 lines
1.2 KiB
Diff

Index: src/Makefile.am
===================================================================
--- src/Makefile.am.orig
+++ src/Makefile.am
@@ -31,7 +31,7 @@ SUBDIRS = \
AM_CXXFLAGS += -DAEGISUB -Iinclude @CXXFLAGS_OSX@ @WX_CXXFLAGS@ @OPENMP_CXXFLAGS@ @LIBASS_CFLAGS@
bin_PROGRAMS = aegisub-2.1
-aegisub_2_1_LDADD = libresrc/libresrc.a $(libosxutil_lib)
+aegisub_2_1_LDADD = libresrc/libresrc.a $(libosxutil_lib) -lz
aegisub_2_1_CXXFLAGS = @FREETYPE_CFLAGS@ $(AM_CXXFLAGS)
aegisub_2_1_LDFLAGS = @DEBUG_FLAGS@ @PROFILE_FLAGS@ @GL_LIBS@ @PTHREAD_LIBS@ @WX_LIBS@ @ICONV_LIBS@ $(libosxutil_ldflags) @CCMALLOC_LDFLAGS@ @EFENCE_LDFLAGS@
LIBS += @FREETYPE_LIBS@ @FONTCONFIG_LIBS@ @CCMALLOC_LIBS@
Index: src/Makefile.in
===================================================================
--- src/Makefile.in.orig
+++ src/Makefile.in
@@ -719,7 +719,7 @@ SUBDIRS = \
$(libauto3) \
$(libosxutil_subdir)
-aegisub_2_1_LDADD = libresrc/libresrc.a $(libosxutil_lib) \
+aegisub_2_1_LDADD = libresrc/libresrc.a $(libosxutil_lib) -lz \
libaudio_player.a $(am__append_5) $(am__append_7) \
$(am__append_9) $(am__append_11) $(am__append_13) \
$(am__append_15) libsubtitle_provider.a $(am__append_18) \