]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
RTLD_SELF isn't vailable on Linux
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Wed, 18 Sep 2019 15:41:53 +0000 (10:41 -0500)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Wed, 18 Sep 2019 15:41:53 +0000 (10:41 -0500)
src/modules/rlm_python/rlm_python.c

index 10ca6c054ccfa7c3f4491c3d7954a1b46e62ebe6..fa92a2269c61853fb8d8e07f4cd667162137c030 100644 (file)
@@ -1254,7 +1254,7 @@ static int mod_load(void)
         *      Resolve the test symbol in our own
         *      symbol space.
         */
-       sym = dlsym(RTLD_SELF, PYTHON_TEST_SYMBOL);
+       sym = dlsym(RTLD_DEFAULT, PYTHON_TEST_SYMBOL);
        if (!sym) {
                LOAD_WARN("Can't find %s in symbol table, skipping loading python into global symbol table",
                          PYTHON_TEST_SYMBOL);