Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

firestarter: fix gcc linking to X11 issue

Fixes this error at compile time due to changes in gcc and/or binutils
packages:
usr/bin/ld: eggtrayicon.o: undefined reference to symbol 'XFlush'
/usr/bin/ld: note: 'XFlush' is defined in DSO /usr/lib/libX11.so.6 so
try adding it to the linker command line
/usr/lib/libX11.so.6: could not read symbols: Invalid operation
  • Loading branch information...
commit 6dd4feae54c9908ac9d26fbaf73ca5c45b0b7b5a 1 parent e324a98
Phillip Smith authored December 14, 2011

Showing 1 changed file with 2 additions and 1 deletion. Show diff stats Hide diff stats

  1. 3  firestarter/PKGBUILD
3  firestarter/PKGBUILD
@@ -13,7 +13,7 @@
13 13
 
14 14
 pkgname=firestarter
15 15
 pkgver=1.0.3
16  
-pkgrel=10
  16
+pkgrel=11
17 17
 pkgdesc="GUI fron-end for iptables"
18 18
 arch=('i686' 'x86_64')
19 19
 license=('GPL2')
@@ -54,6 +54,7 @@ build() {
54 54
   patch -Np1 -i ../menu-toolbar-icons-fix.patch
55 55
   
56 56
   # Configure, Build and Install to $pkgdir
  57
+  export LDFLAGS='-lX11'
57 58
   ./configure \
58 59
     --prefix=/usr \
59 60
     --sysconfdir=/etc \

0 notes on commit 6dd4fea

Please sign in to comment.
Something went wrong with that request. Please try again.