Files
ports/x11/ogre/patches/patch-OgreMain_src_OgreDynLib_cpp
2022-03-11 20:15:18 +00:00

15 lines
708 B
Plaintext

--- OgreMain/src/OgreDynLib.cpp.orig Sun Mar 23 15:16:59 2014
+++ OgreMain/src/OgreDynLib.cpp Sun Mar 23 15:17:21 2014
@@ -78,10 +78,7 @@ namespace Ogre {
// dlopen() does not add .so to the filename, like windows does for .dll
if (name.find(".so") == String::npos)
{
- name += ".so.";
- name += StringConverter::toString(OGRE_VERSION_MAJOR) + ".";
- name += StringConverter::toString(OGRE_VERSION_MINOR) + ".";
- name += StringConverter::toString(OGRE_VERSION_PATCH);
+ name += ".so";
}
#elif OGRE_PLATFORM == OGRE_PLATFORM_APPLE
// dlopen() does not add .dylib to the filename, like windows does for .dll