summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorJon Bergli Heier <snakebite@jvnv.net>2011-01-06 13:20:58 +0100
committerJon Bergli Heier <snakebite@jvnv.net>2011-01-06 13:20:58 +0100
commit1ec5d937f619e3a9caa77b2210042607f00ab83c (patch)
treed612e56e6f100707d16d9d7273af48d2a81f823e /SConstruct
parent822ae13835c2f6443d5b4fface6f3f547bcfcb11 (diff)
Fixed libs and includes to compile under Linux.
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct2
1 files changed, 2 insertions, 0 deletions
diff --git a/SConstruct b/SConstruct
index ed654ef..3e123a2 100644
--- a/SConstruct
+++ b/SConstruct
@@ -13,6 +13,8 @@ else:
if conf.CheckCXXHeader('soci/soci.h'):
env.Append(LIBS = ['soci_core'])
env = conf.Finish()
+ env.ParseConfig('pkg-config --cflags --libs libavcodec')
+ env.ParseConfig('pkg-config --cflags --libs libavformat')
if GetOption('release'):
env.Append(CCFLAGS = ['-O2'])