Skip to content
Snippets Groups Projects
Commit e7f85a27 authored by Natanael Copa's avatar Natanael Copa
Browse files

main/gtk+3.0: fix overlinking issue

parent 0eadb546
No related branches found
No related tags found
No related merge requests found
# Maintainer: Natanael Copa <ncopa@alpinelinux.org> # Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gtk+3.0 pkgname=gtk+3.0
pkgver=3.8.2 pkgver=3.8.2
pkgrel=0 pkgrel=1
pkgdesc="The GTK+ Toolkit (v3)" pkgdesc="The GTK+ Toolkit (v3)"
url="http://www.gtk.org/" url="http://www.gtk.org/"
install="$pkgname.post-install $pkgname.post-upgrade $pkgname.post-deinstall" install="$pkgname.post-install $pkgname.post-upgrade $pkgname.post-deinstall"
...@@ -52,6 +52,7 @@ source="http://ftp.gnome.org/pub/gnome/sources/gtk+/${pkgver%.*}/gtk+-$pkgver.ta ...@@ -52,6 +52,7 @@ source="http://ftp.gnome.org/pub/gnome/sources/gtk+/${pkgver%.*}/gtk+-$pkgver.ta
_builddir="$srcdir"/gtk+-$pkgver _builddir="$srcdir"/gtk+-$pkgver
build() { build() {
cd "$_builddir" cd "$_builddir"
./configure \ ./configure \
...@@ -66,6 +67,10 @@ build() { ...@@ -66,6 +67,10 @@ build() {
# https://bugzilla.gnome.org/show_bug.cgi?id=676087 # https://bugzilla.gnome.org/show_bug.cgi?id=676087
echo "#define HAVE_ISNAN 1" >> config.h echo "#define HAVE_ISNAN 1" >> config.h
echo "#define HAVE_ISINF 1" >> config.h echo "#define HAVE_ISINF 1" >> config.h
# https://bugzilla.gnome.org/show_bug.cgi?id=655517
sed -i 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool || return 1
make || return 1 make || return 1
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment