diff --git a/dtool/pptempl/Template.unix.pp b/dtool/pptempl/Template.unix.pp index f831cac9ad..68b3279d4a 100644 --- a/dtool/pptempl/Template.unix.pp +++ b/dtool/pptempl/Template.unix.pp @@ -104,7 +104,7 @@ #defer lpath $[sort $[complete_lpath]] $[other_trees:%=%/lib] $[get_lpath] // And $[libs] is the set of libraries we will link with. -#defer libs $[unique $[actual_local_libs:%=%$[dllext]] $[patsubst %:c,,%:m %,%$[dllext],$[OTHER_LIBS]] $[get_libs]] +#defer libs $[unique $[actual_local_libs:%=%$[dllext]] $[patsubst %:m,,%:c %,%$[dllext],$[OTHER_LIBS]] $[get_libs]] // This is the set of files we might copy into *.prebuilt, if we have // bison and flex (or copy from *.prebuilt if we don't have them).