X-Git-Url: http://git.efficios.com/?p=lttng-tools.git;a=blobdiff_plain;f=tests%2Fust%2Foverlap%2Fdemo%2FMakefile.am;h=68b6e087f84f506aeaf9137e43bc659ad9f5f0c9;hp=e354636bc3a7dd80e1a146f98e51925a55921c31;hb=ccf7af6c78ba7a206baa9d0b9578468a1af734e1;hpb=855060f867357c4ed856d7b5940cf77513f7fccf diff --git a/tests/ust/overlap/demo/Makefile.am b/tests/ust/overlap/demo/Makefile.am index e354636bc..68b6e087f 100644 --- a/tests/ust/overlap/demo/Makefile.am +++ b/tests/ust/overlap/demo/Makefile.am @@ -1,5 +1,10 @@ AM_CFLAGS=-I$(srcdir) - +if NO_SHARED +# Do not build this test if shared libraries support was +# explicitly disabled. +else +# Force the shared flag on the noinst libraries since they are +# only built static by default FORCE_SHARED_LIB_OPTIONS = -module -shared -avoid-version \ -rpath $(abs_builddir) @@ -30,3 +35,4 @@ endif noinst_SCRIPTS = demo-trace EXTRA_DIST = demo-trace +endif