diff --git a/video/directfb/directfb.conf b/video/directfb/directfb.conf index 1460ebec7..31a00b2ec 100644 --- a/video/directfb/directfb.conf +++ b/video/directfb/directfb.conf @@ -2,7 +2,7 @@ # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # Filename: package/.../directfb/directfb.conf -# Copyright (C) 2006 The OpenSDE Project +# Copyright (C) 2006 - 2010 The OpenSDE Project # Copyright (C) 2004 - 2006 The T2 SDE Project # # More information can be found in the files COPYING and README. @@ -37,6 +37,8 @@ if pkginstalled libx11 ; then var_append confopt ' ' "--enable-x11" hook_add preconf 5 'sed -i -e "s,/usr/X11R6,/usr/X11,g" configure' [[ $libdir = *lib ]] || hook_add preconf 9 'sed -i -e "s,/usr/X11/lib,/usr/X11/lib64,g" configure' + var_append LDFLAGS ' ' "-L$root/$(pkgprefix libdir libx11)" + export LDFLAGS else var_append confopt ' ' "--disable-x11" fi