ovni/test/emu/ovni/version-good.c
Rodrigo Arias b6ce54b7ee Add version check and soname for libovni
Adds ovni_version_check() to test the version at runtime, set the
SONAME to the major version and install a symlinks to the complete
version:

  libovni.so -> libovni.so.1
  libovni.so.1 -> libovni.so.1.0.0
  libovni.so.1.0.0
2022-12-13 13:11:44 +01:00

17 lines
256 B
C

/* Copyright (c) 2021-2022 Barcelona Supercomputing Center (BSC)
* SPDX-License-Identifier: GPL-3.0-or-later */
#include "instr_ovni.h"
int
main(void)
{
ovni_version_check();
/* Create a dummy trace */
instr_start(0, 1);
instr_end();
return 0;
}