summaryrefslogtreecommitdiffhomepage
path: root/104.libelf.vars
diff options
context:
space:
mode:
Diffstat (limited to '104.libelf.vars')
-rw-r--r--104.libelf.vars8
1 files changed, 6 insertions, 2 deletions
diff --git a/104.libelf.vars b/104.libelf.vars
index 786e691e..4b654137 100644
--- a/104.libelf.vars
+++ b/104.libelf.vars
@@ -1,5 +1,9 @@
+#
+# . ./build.vars and set -o errexit are assumed.
+#
+
pkg_libelf_install_post() {
- if ! is_build_script_done installed2; then
+ if ! is_build_script_done install2; then
rm -f lib/libelf.def;
echo EXPORTS > lib/libelf.def;
perk -e lib/libelf.so >> lib/libelf.def;
@@ -8,7 +12,7 @@ pkg_libelf_install_post() {
--dllname libelf.so \
--input-def lib/libelf.def;
cp lib/libelf.lib.a ${PREFIX}/lib;
- set_build_script_done installed2 -finished;
+ set_build_script_done install2 -finish;
fi;
};