1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: package/*/mozjs/mozjs.conf
3 # Copyright (C) 2009 - 2022 The T2 SDE Project
5 # This Copyright note is generated by scripts/Create-CopyPatch,
6 # more information can be found in the files COPYING and README.
8 # This program is free software; you can redistribute it and/or modify
9 # it under the terms of the GNU General Public License version 2.
10 # --- T2-COPYRIGHT-NOTE-END ---
12 hook_add preconf 2 'cd js/src'
16 rm -f $root$libdir/libmozjs185.so.1.0
17 ln -s libmozjs185.so.1.0.0 $root$libdir/libmozjs185.so.1.0
18 rm -f $root$libdir/libmozjs185.so
19 ln -s libmozjs185.so.1.0 $root$libdir/libmozjs185.so
22 if atstage "cross"; then
23 export CROSS_COMPILE=1
24 hook_add postmake 5 fix_lib