aboutsummaryrefslogtreecommitdiff
path: root/test/py
diff options
context:
space:
mode:
authorDaniel P. Berrangé <berrange@redhat.com>2022-04-21 16:52:10 +0100
committerJohn Levon <levon@movementarian.org>2022-05-09 23:28:10 +0100
commit42d4747809c39ce1f0c58b47d71e5670c610e1b0 (patch)
treed8b589f3b60b67d4996be30254224b0852c33081 /test/py
parent11ccc964a08c650302e917c4a5f84764e2c5e7fa (diff)
downloadlibvfio-user-42d4747809c39ce1f0c58b47d71e5670c610e1b0.zip
libvfio-user-42d4747809c39ce1f0c58b47d71e5670c610e1b0.tar.gz
libvfio-user-42d4747809c39ce1f0c58b47d71e5670c610e1b0.tar.bz2
build: delete CMake build rules
Now that Meson is functional, support for building with CMake is removed so that there is only one build system to maintain. Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Diffstat (limited to 'test/py')
-rw-r--r--test/py/libvfio_user.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/test/py/libvfio_user.py b/test/py/libvfio_user.py
index 25ae90e..246a4f1 100644
--- a/test/py/libvfio_user.py
+++ b/test/py/libvfio_user.py
@@ -224,10 +224,7 @@ VFU_MIGR_CALLBACKS_VERS = 1
SOCK_PATH = b"/tmp/vfio-user.sock.%d" % os.getpid()
topdir = os.path.realpath(os.path.dirname(__file__) + "/../..")
-build_type = os.getenv("BUILD_TYPE", default="dbg")
-libname = "%s/build/%s/lib/libvfio-user.so" % (topdir, build_type)
-if not os.path.exists(libname):
- libname = os.path.join(os.getenv("LIBVFIO_SO_DIR"), "libvfio-user.so")
+libname = os.path.join(os.getenv("LIBVFIO_SO_DIR"), "libvfio-user.so")
lib = c.CDLL(libname, use_errno=True)
libc = c.CDLL("libc.so.6", use_errno=True)