diff --git a/dtool/pptempl/Template.unix.pp b/dtool/pptempl/Template.unix.pp index 0dcaa368c6..51f349edef 100644 --- a/dtool/pptempl/Template.unix.pp +++ b/dtool/pptempl/Template.unix.pp @@ -366,8 +366,8 @@ $[TAB] $[shared_lib_c] #if $[BUNDLE_EXT] // Also generate the bundles (on OSX only). #define target $[ODIR]/lib$[TARGET]$[BUNDLE_EXT] - #define source $[ODIR]/lib$[TARGET]$[DYNAMIC_LIB_EXT] -$[target] : $[sources] $[static_lib_dependencies] + #define sources $[ODIR]/lib$[TARGET]$[DYNAMIC_LIB_EXT] +$[target] : $[sources] $[static_lib_dependencies] $[TAB] $[BUNDLE_LIB_C++] #endif // BUNDLE_EXT #endif