summaryrefslogtreecommitdiffstats
path: root/PerlTQt/Makefile.PL.in
diff options
context:
space:
mode:
authorDarrell Anderson <humanreadable@yahoo.com>2013-03-02 21:54:48 -0600
committerDarrell Anderson <humanreadable@yahoo.com>2013-03-02 21:54:48 -0600
commit8272b0e4dcba0e0f284336d9a009ba51b24689ca (patch)
treee5b711ef1bfc74b63bf8c8a52861ad182c7ec7d6 /PerlTQt/Makefile.PL.in
parentf25e1484a541819387ed7f9d6aa98e49fb7626fa (diff)
downloadlibtqt-perl-8272b0e4dcba0e0f284336d9a009ba51b24689ca.tar.gz
libtqt-perl-8272b0e4dcba0e0f284336d9a009ba51b24689ca.zip
Fix libtqt-perl from building smoke support when tdebindings has that support.
This resolves bug report 1269.
Diffstat (limited to 'PerlTQt/Makefile.PL.in')
-rw-r--r--PerlTQt/Makefile.PL.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/PerlTQt/Makefile.PL.in b/PerlTQt/Makefile.PL.in
index bcf72af..7746d30 100644
--- a/PerlTQt/Makefile.PL.in
+++ b/PerlTQt/Makefile.PL.in
@@ -85,7 +85,7 @@ WriteMakefile(
'VERSION_FROM' => 'TQt.pm', # finds $VERSION
'PREREQ_PM' => {}, # e.g., Module::Name => 1.1,
'INC' => '@all_includes@ -I. -I../smoke',
- 'LIBS' => ['@all_libraries@'." -L$localsmoke -lsmoketqt ".'@LIBCRYPT@'." $qtlib"],
+ 'LIBS' => ['@all_libraries@'." -L$localsmoke -lsmokeqt ".'@LIBCRYPT@'." $qtlib"],
# 'XS' => {'TQt.xs' => 'TQt.cpp'}, # does not work ... still expects TQt.c
'XSOPT' => "-C++",
'OBJECT' => "$objects", # Object files
@@ -116,7 +116,7 @@ sub MY::const_loadlibs {
package MY;
my $i = shift->SUPER::const_loadlibs(@_);
# hacks for linking against a non-yet-installed smoke
- $i =~ s/((?:EXTRALIBS|LDLOADLIBS).*?)\n/$1 -L$localsmoke -lsmoketqt\n/gs unless $i =~/-lsmoketqt/;
+ $i =~ s/((?:EXTRALIBS|LDLOADLIBS).*?)\n/$1 -L$localsmoke -lsmokeqt\n/gs unless $i =~/-lsmokeqt/;
$i =~ s#(LD_RUN_PATH.*?)(${localsmoke})?\n#"$1".($2?"":":")."$x{'libdir'}\n"#se;
$i;
}