summaryrefslogtreecommitdiff
path: root/wscript
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-05-01 10:15:18 +0200
committerCarl Hetherington <cth@carlh.net>2024-05-01 10:15:18 +0200
commit622995bacbea495e570f52fa0094fb653c462ecd (patch)
treeacf34b2100ce17d579422abef9c84b556d402f1f /wscript
parent9d6b7a426b71f1791fc3ad1ac15099892c6709fd (diff)
parent191e92a4babdea589aa9c78fa659b0d8fc97ff82 (diff)
Merge branch 'main' into v2.17.x
Diffstat (limited to 'wscript')
-rw-r--r--wscript11
1 files changed, 2 insertions, 9 deletions
diff --git a/wscript b/wscript
index 27b554df4..801c3b156 100644
--- a/wscript
+++ b/wscript
@@ -39,7 +39,7 @@ libdcp_version = '1.8.73'
libsub_version = '1.6.42'
this_version = subprocess.Popen(['git', 'tag', '-l', '--points-at', 'HEAD'], stdout=subprocess.PIPE).communicate()[0]
-git_head = subprocess.Popen(['git', 'rev-parse', '--short', 'HEAD'], stdout=subprocess.PIPE).communicate()[0]
+git_head = subprocess.Popen(['git', 'rev-parse', '--short=9', 'HEAD'], stdout=subprocess.PIPE).communicate()[0]
# Python 2/3 compatibility; I don't really understand what's going on here
if not isinstance(this_version, str):
@@ -219,7 +219,6 @@ def configure(conf):
int main() { std::locale::global (boost::locale::generator().generate ("")); }\n
""",
msg='Checking for boost locale library',
- libpath='/usr/local/lib',
lib=['boost_locale%s' % boost_lib_suffix, 'boost_system%s' % boost_lib_suffix],
uselib_store='BOOST_LOCALE')
@@ -242,7 +241,6 @@ def configure(conf):
if conf.env.TARGET_OSX:
conf.env.append_value('CXXFLAGS', ['-DDCPOMATIC_OSX', '-DGL_SILENCE_DEPRECATION'])
conf.env.append_value('LINKFLAGS', '-headerpad_max_install_names')
- conf.env.append_value('LINKFLAGS', '-llzma')
#
# Dependencies.
@@ -273,7 +271,7 @@ def configure(conf):
mandatory=True,
msg='Checking for libicu',
okmsg='yes',
- libpath=['/usr/local/lib', '/usr/lib', '/usr/lib/x86_64-linux-gnu'],
+ libpath=['/usr/lib', '/usr/lib/x86_64-linux-gnu'],
lib=['icuio', 'icui18n', 'icudata', 'icuuc'],
uselib_store='ICU')
@@ -423,7 +421,6 @@ def configure(conf):
int main() { struct jpeg_compress_struct compress; jpeg_create_compress (&compress); return 0; }
""",
msg='Checking for libjpeg',
- libpath='/usr/local/lib',
lib=['jpeg'],
uselib_store='JPEG')
@@ -434,7 +431,6 @@ def configure(conf):
int main() { ext4_mount("ext4_fs", "/mp/", false); }\n
""",
msg='Checking for lwext4 library',
- libpath='/usr/local/lib',
lib=['lwext4', 'blockdev'],
uselib_store='LWEXT4')
@@ -573,7 +569,6 @@ def configure(conf):
int main() { boost::thread t; }\n
""",
msg='Checking for boost threading library',
- libpath='/usr/local/lib',
lib=[boost_thread, 'boost_system%s' % boost_lib_suffix],
uselib_store='BOOST_THREAD')
@@ -582,7 +577,6 @@ def configure(conf):
int main() { boost::filesystem::copy_file ("a", "b"); }\n
""",
msg='Checking for boost filesystem library',
- libpath='/usr/local/lib',
lib=['boost_filesystem%s' % boost_lib_suffix, 'boost_system%s' % boost_lib_suffix],
uselib_store='BOOST_FILESYSTEM')
@@ -591,7 +585,6 @@ def configure(conf):
int main() { boost::gregorian::day_clock::local_day(); }\n
""",
msg='Checking for boost datetime library',
- libpath='/usr/local/lib',
lib=['boost_date_time%s' % boost_lib_suffix, 'boost_system%s' % boost_lib_suffix],
uselib_store='BOOST_DATETIME')