Package: jstest-gtk / 0.1.1~git20090722-2

libraries.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Description: Link with libx11 and libexpat using pkg-config
Author: Stephen Kitt <steve@sk2.org>
Forwarded: no

--- jstest-gtk-0.1.1~git20090722.orig/SConstruct
+++ jstest-gtk-0.1.1~git20090722/SConstruct
@@ -15,9 +15,8 @@
 ##  You should have received a copy of the GNU General Public License
 ##  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
-env = Environment(CXXFLAGS=["-g", "-Wall", "-Werror"],
-                  LIBS=["expat"])
-env.ParseConfig('pkg-config --cflags --libs gtkmm-2.4 sigc++-2.0')
+env = Environment(CXXFLAGS=["-g", "-Wall", "-Werror"])
+env.ParseConfig('pkg-config --cflags --libs gtkmm-2.4 sigc++-2.0 expat x11')
 env.Program('jstest-gtk', [
     'src/axis_widget.cpp',
     'src/button_widget.cpp',