aboutsummaryrefslogtreecommitdiff
path: root/projects/libpsl
diff options
context:
space:
mode:
authorjonathanmetzman <31354670+jonathanmetzman@users.noreply.github.com>2021-08-25 22:14:52 -0700
committerGitHub <noreply@github.com>2021-08-25 22:14:52 -0700
commit5549d804b3640462549401597cfef382911b3933 (patch)
treeee92b92846c95c667bce422b952d0c874ef755d9 /projects/libpsl
parent390c200c1e85f0a86d205a401a77457f51cb1848 (diff)
downloadoss-fuzz-5549d804b3640462549401597cfef382911b3933.tar.gz
[Ubuntu upgrade] Fix projects so they don't break with upgrade. (#6304)
Fix projects so they don't break with upgrade. These fixes are likely not backwards compatible and will fail on Ubuntu 16.04. Related: #6180
Diffstat (limited to 'projects/libpsl')
-rwxr-xr-xprojects/libpsl/build.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/projects/libpsl/build.sh b/projects/libpsl/build.sh
index ae71a5973..8aba395c3 100755
--- a/projects/libpsl/build.sh
+++ b/projects/libpsl/build.sh
@@ -33,6 +33,10 @@ CPPFLAGS="$CPPFLAGS -fno-sanitize=vptr" \
--disable-tests --disable-samples --with-data-packaging=static --prefix=$DEPS_PATH
# ugly hack to avoid build error
echo '#include <locale.h>' >>i18n/digitlst.h
+
+# Hack so that upgrade to Ubuntu 20.04 works.
+ln -s /usr/include/locale.h /usr/include/xlocale.h
+
make -j
make install