summaryrefslogtreecommitdiff
path: root/user/libtheora/use-libtool-correctly.patch
blob: 5b08c28736717273b99d7730923b87b1b49d2ccb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
diff '--color=auto' -Nurd libtheora-1.1.1/configure.ac libtheora-1.1.1.new/configure.ac
--- libtheora-1.1.1/configure.ac	2009-10-01 11:00:33.000000000 -0700
+++ libtheora-1.1.1.new/configure.ac	2025-06-29 06:45:28.051563120 -0700
@@ -57,8 +57,8 @@
 CFLAGS="$cflags_save"
 
 AM_PROG_CC_C_O
-AC_LIBTOOL_WIN32_DLL
-AM_PROG_LIBTOOL
+
+LT_INIT
 
 dnl Add parameters for aclocal
 AC_SUBST(ACLOCAL_AMFLAGS, "-I m4")
@@ -205,8 +205,6 @@
 AM_CONDITIONAL([CPU_x86_32], [test x$cpu_x86_32 = xyes])
 
 # Test whenever ld supports -version-script
-AC_PROG_LD
-AC_PROG_LD_GNU
 AC_MSG_CHECKING([how to control symbol export])
 
 THDEC_VERSION_ARG=""
diff '--color=auto' -Nurd libtheora-1.1.1/lib/Makefile.am libtheora-1.1.1.new/lib/Makefile.am
--- libtheora-1.1.1/lib/Makefile.am	2009-09-25 08:20:06.000000000 -0700
+++ libtheora-1.1.1.new/lib/Makefile.am	2025-06-29 07:07:11.315622461 -0700
@@ -152,7 +152,7 @@
 	Version_script-enc theoraenc.exp
 libtheoraenc_la_LDFLAGS = \
   -version-info @THENC_LIB_CURRENT@:@THENC_LIB_REVISION@:@THENC_LIB_AGE@ \
-  @THEORAENC_LDFLAGS@ $(OGG_LIBS)
+  libtheoradec.la $(OGG_LIBS)
 
 libtheora_la_SOURCES = \
 	$(decoder_sources) \