--- pygame-2.0.1.old/buildconfig/config_unix.py +++ pygame-2.0.1/buildconfig/config_unix.py @@ -226,6 +226,25 @@ incdirs = [] libdirs = [] + + incdirs += ["__META_SYSTREE__/include" ] + libdirs += ["__META_SYSTREE__/lib" ] + + incdirs += ["__META_PRODTREE__/portmidi/include" ] + libdirs += ["__META_PRODTREE__/portmidi/lib" ] + + incdirs += ["__META_PRODTREE__/sdl2/include" ] + libdirs += ["__META_PRODTREE__/sdl2/lib" ] + + incdirs += ["__META_PRODTREE__/jpeg/include" ] + libdirs += ["__META_PRODTREE__/jpeg/lib" ] + + incdirs += ["__META_PRODTREE__/libpng/include" ] + libdirs += ["__META_PRODTREE__/libpng/lib" ] + + incdirs += ["__META_PRODTREE__/xorg/include" ] + libdirs += ["__META_PRODTREE__/xorg/lib" ] + for extrabase in extrabases: incdirs += [extrabase + d for d in origincdirs] libdirs += [extrabase + d for d in origlibdirs]