link skeletons instead of copy

This commit is contained in:
Lev Walkin 2017-10-17 18:37:42 -07:00
parent 312795a24c
commit 5754545305
2 changed files with 2 additions and 1 deletions

View File

@ -93,6 +93,7 @@ all: compiled-module
compiled-module: ${asn_module} ${abs_top_builddir}/asn1c/asn1c
${abs_top_builddir}/asn1c/asn1c \\
-S ${abs_top_srcdir}/skeletons \\
-flink-skeletons \\
-Wdebug-compiler \\
${AFLAGS} ${asn_module}
rm -f converter-example.c

View File

@ -237,7 +237,7 @@ asn_compile() {
} > test.asn1
echo "${abs_top_builddir}/asn1c/asn1c -S ${abs_top_srcdir}/skeletons"
if "${abs_top_builddir}/asn1c/asn1c" -S "${abs_top_srcdir}/skeletons" \
-gen-OER -gen-PER ${asn1c_flags} test.asn1
-gen-OER -gen-PER ${asn1c_flags} -flink-skeletons test.asn1
then
echo "ASN.1 compiled OK"
else