Browse Source

need to ensure local USE_PACKAGES are first

David Rose 18 years ago
parent
commit
cf69abadde
1 changed files with 1 additions and 1 deletions
  1. 1 1
      dtool/pptempl/Global.pp

+ 1 - 1
dtool/pptempl/Global.pp

@@ -475,7 +475,7 @@
 
 
 // This variable returns the set of external packages used by this
 // This variable returns the set of external packages used by this
 // target, and by all the components shared by this target.
 // target, and by all the components shared by this target.
-#defer use_packages $[sort $[USE_PACKAGES] $[all_libs $[USE_PACKAGES],$[active_component_libs] $[complete_local_libs]]]
+#defer use_packages $[unique $[USE_PACKAGES] $[all_libs $[USE_PACKAGES],$[active_component_libs] $[complete_local_libs]]]
 
 
 // This function returns the appropriate cflags for the target, based
 // This function returns the appropriate cflags for the target, based
 // on the various external packages this particular target claims to
 // on the various external packages this particular target claims to