summarylogtreecommitdiffstats
path: root/wx-config-2.8.patch
blob: 3b908398fb6cb27b2eb8618b1996603ef774d2a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
diff --git a/inc/Module/Build/Scintilla.pm b/inc/Module/Build/Scintilla.pm
index de71aaf..0da4676 100644
--- a/inc/Module/Build/Scintilla.pm
+++ b/inc/Module/Build/Scintilla.pm
@@ -47,7 +47,7 @@ sub stc_wxconfig {
 	# not available on windows
 	return $self->{_wxstc_config_wxconfig} if $self->{_wxstc_config_wxconfig};
 	my $binpathconfig;
-	my $sympathconfig = Alien::wxWidgets->prefix . '/bin/wx-config';
+	my $sympathconfig = Alien::wxWidgets->prefix . '/usr/bin/wx-config-2.8';
 
 	# sometimes the symlink is broken - if there has been relocation etc.
 	# but we know where it should be if installed by Alien::wxWidgets
@@ -60,7 +60,7 @@ sub stc_wxconfig {
 		$binpathconfig = $testpath if -f $testpath;
 	};
 
-	my $wxconfig = $binpathconfig || 'wx-config';
+	my $wxconfig = $binpathconfig || 'wx-config-2.8';
 	my $configtest = qx($wxconfig --version);
 	if ( $configtest !~ /^\d+\.\d+\.\d+/ ) {
 		die