r25712: try to fix the build, perl should handle by_path as comparison function
authorStefan Metzmacher <metze@samba.org>
Wed, 24 Oct 2007 07:15:26 +0000 (09:15 +0200)
committerStefan Metzmacher <metze@samba.org>
Fri, 21 Dec 2007 04:43:24 +0000 (05:43 +0100)
metze
(This used to be commit ee47f5dc7947cad7eed84f071112e41c4a687275)

source4/build/smb_build/cflags.pm

index 2f2a4a38684397512f7f645b46f1bfc012883038..ad6cd42c658307945fccd4aece8ba88ce7bb28d0 100755 (executable)
@@ -32,7 +32,7 @@ sub create_cflags($$$$) {
 
                my @sorted_cflags = @{$key->{FINAL_CFLAGS}};
                if ($sort_available) {
-                       @sorted_cflags = sort(by_path, @{$key->{FINAL_CFLAGS}});
+                       @sorted_cflags = sort by_path @{$key->{FINAL_CFLAGS}};
                }
 
                # Rewrite CFLAGS so that both the source and the build