Skip to content

Commit ead530b

Browse files
committed
Corrected value for $$LIB_NAME$$.
1 parent b871708 commit ead530b

File tree

2 files changed

+1
-11
lines changed

2 files changed

+1
-11
lines changed

src/PerlMagick.cpp

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -31,18 +31,11 @@ void PerlMagick::configure(const Options &options)
3131
if (!makeFile)
3232
throwException(L"Unable to open Makefile.PL for writing.");
3333

34-
const auto libName=magickCoreLibraryName(options);
35-
3634
wstring line;
3735
while (getline(makeFileIn,line))
3836
{
39-
line=replace(line,L"$$LIB_NAME$$",libName);
37+
line=replace(line,L"$$LIB_NAME$$",L"CORE_RL_" + options.magickCoreName() + L"_");
4038
line=replace(line,L"$$PLATFORM$$",options.architectureName());
4139
makeFile << line << endl;
4240
}
4341
}
44-
45-
wstring PerlMagick::magickCoreLibraryName(const Options &options)
46-
{
47-
return(L"CORE_RL_" + options.magickCoreName());
48-
}

src/PerlMagick.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,4 @@ class PerlMagick
2626
{
2727
public:
2828
static void configure(const Options &options);
29-
30-
private:
31-
static wstring magickCoreLibraryName(const Options &options);
3229
};

0 commit comments

Comments
 (0)