summaryrefslogtreecommitdiffstats
path: root/PerlTQt/Makefile.PL.in
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2012-01-01 19:41:15 -0600
committerTimothy Pearson <[email protected]>2012-01-01 19:41:15 -0600
commitae3f95170046f4f2456daa046c826c036cd2a8f4 (patch)
tree5b61f06d29608da23bd9f93e04ef1390ee661204 /PerlTQt/Makefile.PL.in
parent79dd73b042edd81edb5e030459a43777ffa980bf (diff)
downloadlibtqt-perl-ae3f95170046f4f2456daa046c826c036cd2a8f4.tar.gz
libtqt-perl-ae3f95170046f4f2456daa046c826c036cd2a8f4.zip
Use smoketqt
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 7746d30..bcf72af 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 -lsmokeqt ".'@LIBCRYPT@'." $qtlib"],
+ 'LIBS' => ['@all_libraries@'." -L$localsmoke -lsmoketqt ".'@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 -lsmokeqt\n/gs unless $i =~/-lsmokeqt/;
+ $i =~ s/((?:EXTRALIBS|LDLOADLIBS).*?)\n/$1 -L$localsmoke -lsmoketqt\n/gs unless $i =~/-lsmoketqt/;
$i =~ s#(LD_RUN_PATH.*?)(${localsmoke})?\n#"$1".($2?"":":")."$x{'libdir'}\n"#se;
$i;
}