[arch-commits] Commit in libflashsupport/trunk (PKGBUILD)

Eric Bélanger eric at archlinux.org
Thu Feb 26 09:16:18 UTC 2009


    Date: Thursday, February 26, 2009 @ 04:16:17
  Author: eric
Revision: 27827

upgpkg: libflashsupport 9.0.21.78-4
    Added to extra x86_64

Modified:
  libflashsupport/trunk/PKGBUILD

----------+
 PKGBUILD |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2009-02-26 09:06:53 UTC (rev 27826)
+++ PKGBUILD	2009-02-26 09:16:17 UTC (rev 27827)
@@ -4,7 +4,7 @@
 pkgver=9.0.21.78
 pkgrel=4
 pkgdesc="Macromedia flash plugin support lib (OSS SSL)"
-arch=('i686')
+arch=('i686' 'x86_64')
 url="http://www.macromedia.com/software/flashplayer/"
 license=("custom")
 depends=('flashplugin' 'icu>=4.0' 'openssl')
@@ -14,6 +14,7 @@
 build() {
 	msg "Building libflashsupport"
 	cd $startdir/src
+	[ $CARCH == "x86_64" ] && export CFLAGS="$CFLAGS -fPIC"
 	echo gcc $CFLAGS -shared -Wall -Werror -licuuc -lssl flashsupport.c -o libflashsupport.so
 	gcc $CFLAGS -shared -Wall -Werror -licuuc -lssl flashsupport.c -o libflashsupport.so || return 1
 	install -D -m755 libflashsupport.so $startdir/pkg/usr/lib/libflashsupport.so




More information about the arch-commits mailing list