Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Makefile.pdlibbuilder ignores PDBINDIR #48
When having PD installed in none of the Windows "obvious" places (e.g. Program Files or %AppData%...etc), the Makefile's script seems to ignore the user-specified PDBINDIR when it creates the linker line that pulls in pd.dll. From the Makefile (Makefile.pdlibbuilder):
"shared.ldflags = -static-libgcc -shared "$(pdbinpath)/pd.dll"
...where it uses the 'pdbinpath' var instead...which is earlier detected with this:
ifeq ($(system), Windows)
...which apparently takes no regard to what PDBINDIR has specified.
RESULT: the linker tries to use "/pd.dll" (since it obviously didn't find my pd's "bin" dir in any of the obvious places) and fails
(This is obviously bad but it shows that this is in fact the problem, as the linking will succeed with this modification)
The bug reported here is valid, but hopefully not for current pdlibbuilder (0.5.1). From the changelog:
v0.5.1, dated 2018-03-15