X-Git-Url: http://git.silcnet.org/gitweb/?p=silc.git;a=blobdiff_plain;f=lib%2Fsilccrypt%2FMakefile.am;h=47f7204491e8e6810f2b9556744055b1bb07944b;hp=c3f058f0af2a5d4583b08ceb95074e02fe4c7f08;hb=382d15d447b7a95390decfa783836ae4fe255b3d;hpb=3cf38201f9ffaad2da53757ed48a5546e1d03636 diff --git a/lib/silccrypt/Makefile.am b/lib/silccrypt/Makefile.am index c3f058f0..47f72044 100644 --- a/lib/silccrypt/Makefile.am +++ b/lib/silccrypt/Makefile.am @@ -38,6 +38,15 @@ libsilccrypt_la_SOURCES = \ silcpkcs.c \ pkcs1.c +if SILC_LIBTOOLFIX +# Tell libtool to compile silccrypt as shared since silcsim will need it. +LTFLAGS = --libtool-enable-shared +else +LTFLAGS = +endif + +CFLAGS = $(LTFLAGS) + if SILC_DIST_TOOLKIT include_HEADERS = \ aes.h \ @@ -61,6 +70,6 @@ include_HEADERS = \ twofish.h endif -EXTRA_DIST = *.h +EXTRA_DIST = *.h tests include $(top_srcdir)/Makefile.defines.in