File: remove-uneeded-ld-flags.patch

package info (click to toggle)
linuxdcpp 0.0.1.cvs20061024-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 2,928 kB
  • ctags: 4,932
  • sloc: cpp: 30,399; ansic: 434; makefile: 134
file content (11 lines) | stat: -rw-r--r-- 614 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
--- linuxdcpp-0.0.1.cvs20061024.orig/SConstruct	2006-09-24 01:03:08.000000000 +0200
+++ linuxdcpp-0.0.1.cvs20061024.deb/SConstruct	2006-10-24 17:50:24.000000000 +0200
@@ -177,7 +177,7 @@
 if env['PREFIX']:
 	env.Append(CXXFLAGS = '-D_DATADIR=\'\"' + env['PREFIX'] + '/share' + '\"\'')
 
-env.ParseConfig('pkg-config --libs libglade-2.0')
+env.ParseConfig('pkg-config --libs libglade-2.0 | sed -e \'s#-lXinerama\|-latk-1.0\|-lxml2\|-lpangocairo-1.0\|-lXrender\|-lXext\|-lXi\|-lXrandr\|-lXcursor\|-lfontconfig\|-lXfixes\|-lcairo\|-lgmodule-2.0\|-ldl\|-lm##g\'')
 env.ParseConfig('pkg-config --libs gthread-2.0')