aboutsummaryrefslogtreecommitdiff
path: root/multimedia/x264-devel/files/patch-configure
blob: 052d3036cd268a62bee57ea9b452aaa4ed5f96cc (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
--- configure.orig	2008-04-09 16:45:06.000000000 -0400
+++ configure	2008-04-09 20:48:37.722733173 -0400
@@ -248,7 +248,7 @@
     fi
     as_check || AS="nasm"
     ;;
-  x86_64)
+  x86_64 | amd64)
     ARCH="X86_64"
     AS="yasm"
     if [ "$SYS" = MACOSX ];then
@@ -372,7 +372,7 @@
     LDFLAGS="$LDFLAGS $libpthread"
 fi
 
-MP4_LDFLAGS="-lgpac_static"
+MP4_LDFLAGS="-lgpac"
 if [ $SYS = MINGW ]; then
     MP4_LDFLAGS="$MP4_LDFLAGS -lwinmm"
 fi
@@ -458,7 +458,7 @@
 cp config.mak gtk/config.mak
 
 if [ "$shared" = "yes" ]; then
-    API=$(grep '#define X264_BUILD' < x264.h | cut -f 3 -d ' ')
+    API=50
     if [ "$SYS" = "MINGW" ]; then
         echo "SONAME=libx264-$API.dll" >> config.mak
         echo 'IMPLIBNAME=libx264.dll.a' >> config.mak