summaryrefslogtreecommitdiff
path: root/cscript
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-12-01 23:04:14 +0100
committerCarl Hetherington <cth@carlh.net>2020-12-01 23:04:14 +0100
commit0b38e3e62df25a89db98e101e530edf1a4316cd3 (patch)
treecd9205cec155e07ba6f5fe2a89e996b6e74851cd /cscript
parent370b3de68bd9862f69b34b1b69c9ded503250054 (diff)
Add -fPIC to Linux builds so the static lwext library can be linked with the dynamic libdcpomatic2.so
Diffstat (limited to 'cscript')
-rw-r--r--cscript1
1 files changed, 1 insertions, 0 deletions
diff --git a/cscript b/cscript
index e118e15..58c0231 100644
--- a/cscript
+++ b/cscript
@@ -23,6 +23,7 @@ def build(target, options):
blockdev = 'linux'
ext = 'a'
device = 'dev'
+ target.command('CFLAGS=-fPIC cmake .')
elif target.platform == 'osx':
if target.bits == 64:
type = 'osx'