From 75d46b604a032938de5d40ea282e8ce2208b926d Mon Sep 17 00:00:00 2001 From: erlingrj Date: Tue, 5 Nov 2024 18:14:26 -0800 Subject: [PATCH] More stringify --- python/lib/pythontarget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/lib/pythontarget.c b/python/lib/pythontarget.c index a2b021bbe..3b68add0f 100644 --- a/python/lib/pythontarget.c +++ b/python/lib/pythontarget.c @@ -178,7 +178,7 @@ PyObject* py_package_directory(PyObject* self, PyObject* args) { PyErr_SetString(PyExc_RuntimeError, "LF_PACKAGE_DIRECTORY constant is not defined."); return NULL; #else - return PyUnicode_DecodeFSDefault(LF_PACKAGE_DIRECTORY); + return PyUnicode_DecodeFSDefault(LF_STRINGIFY(LF_PACKAGE_DIRECTORY)); #endif }