[Vala] [PATCH]Add an option to valac for passing args to pkg-config

2012-09-14 Thread Kder
I added a feature(command line option) for the vala compiler: -p, --pkg-config-args=ARGS Pass ARGS to pkg-config utility to pass customized arguments to pkg-config utility. For example, we can use this to static compile a gtk program with valac: valac test_static.vala -p "--static --li

Re: [Vala] [PATCH]Add an option to valac for passing args to pkg-config

2012-09-14 Thread Kder
Sorry for the word wrapping problem in my last message. This is my patch: diff -Nuar vala-0.17.5/codegen/valaccodecompiler.vala vala-0.17.5-patched/ codegen/valaccodecompiler.vala --- vala-0.17.5/codegen/valaccodecompiler.vala 2012-08-06 19:19:28 +0800 +++ vala-0.17.5-patched/codegen/valaccodeco