Commit f71745aa authored by Jon Ringle's avatar Jon Ringle Committed by Lev Walkin

autotools: Make Makefile.am.libasncodec more autotools friendly

parent 6431b1c9
...@@ -147,10 +147,12 @@ asn1c__save_library_makefile(arg_t *arg, const asn1c_dep_chainset *deps, ...@@ -147,10 +147,12 @@ asn1c__save_library_makefile(arg_t *arg, const asn1c_dep_chainset *deps,
safe_fprintf( safe_fprintf(
mkf, mkf,
"\n\n" "\n\n"
"lib_LTLIBRARIES=libasncodec.la\n" "lib_LTLIBRARIES+=libasncodec.la\n"
"libasncodec_la_SOURCES=" "libasncodec_la_SOURCES="
"$(ASN_MODULE_SRCS) $(ASN_MODULE_HDRS)\n" "$(ASN_MODULE_SRCS) $(ASN_MODULE_HDRS)\n"
"libasncodec_la_CFLAGS=$(ASN_MODULE_CFLAGS)\n"); "libasncodec_la_CPPFLAGS=-I$(top_srcdir)/%s\n"
"libasncodec_la_CFLAGS=$(ASN_MODULE_CFLAGS)\n"
"libasncodec_la_LDFLAGS=-lm\n", destdir);
fclose(mkf); fclose(mkf);
safe_fprintf(stderr, "Generated %s%s\n", destdir, makefile_name); safe_fprintf(stderr, "Generated %s%s\n", destdir, makefile_name);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment