wok-6.x rev 12944

awesome: add LDFLAGS
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed May 30 18:15:17 2012 +0200 (2012-05-30)
parents 8f0646eb1a45
children 5afa6e71c7c4
files awesome/receipt
line diff
     1.1 --- a/awesome/receipt	Wed May 30 17:52:09 2012 +0200
     1.2 +++ b/awesome/receipt	Wed May 30 18:15:17 2012 +0200
     1.3 @@ -16,12 +16,15 @@
     1.4  BUILD_DEPENDS="cmake xorg-libX11-dev libxcb-dev xcb-util-dev xcb-util-keysyms-dev \
     1.5  xcb-util-image-dev xcb-util-wm-dev lua-dev pango-dev cairo-dev imlib2-dev \
     1.6  dbus-dev libev-dev gperf cairo libxdg-basedir-dev startup-notification-dev \
     1.7 -imagemagick pkg-config freetype-dev fontconfig-dev libpng-dev libxdg-basedir-dev openexr"
     1.8 +imagemagick pkg-config freetype-dev fontconfig-dev libpng-dev libxdg-basedir-dev \
     1.9 +openexr libltdl"
    1.10  
    1.11  # Rules to configure and make the package.
    1.12  compile_rules()
    1.13  {
    1.14      cd $src
    1.15 +    export LDFLAGS="-Wl,--copy-dt-needed-entries -ldl"
    1.16 +    sed -i 's|glib/gspawn|glib|' spawn.c
    1.17      patch -Np1 -i $stuff/0001-Normalize-icon-path-names-fixes-869.patch
    1.18      make CMAKE_ARGS=" -DPREFIX=/usr -DXDG_CONFIG_DIR=/etc/xdg \
    1.19  	-DCMAKE_BUILD_TYPE=RELEASE" &&