-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
class.sources that are added in a forLinux
clause are not built
#61
Comments
it seems this never worked for any released version of pd-lib-builder. i'm testing like this: (cd pd-lib-builder; git tag | egrep "^v") | while read tag
do
rm *.o *_*
(cd pd-lib-builder/; git checkout ${tag})
make && make install DESTDIR=$(pwd)/${tag}
rm *.o *_*
done
find v*/ -type f -name "*helloworld*" -not -name "*.pd" |
This can't work indeed. The Now I tried swapping these sections and in that case the cumulative variables for file names are expanded correctly, and it does build. Actually I like this order of sections better; platform detection first, then build flags accumulation, then file name accumulation. Also the platform-dependent name definition of |
which brings us to #44 :-) |
This solves the issue where platform-dependent class inclusion could not work (#61). Also it seems a more logical order of evaluation in general because binary file extensions are platform- dependent.
Fixed as discussed above with commit a6975e9. |
i just stumbled upon this while modernizing hcs.
if i have an objectclass that should only build for a given platform, the documentation says to wrap it into a
define forXXX
clause:pd-lib-builder/Makefile.pdlibbuilder
Lines 158 to 163 in f087faf
However, doing so does not actually work: the specified classes are not build at all.
However, the
define
does work, as can be seen from other variables used in the clause.consider the following replacement of the helloworld Makefile:
Running
make
does not do anything.Running
make install
will install the following files:so the "helloworld.pd_linux" is missing, but the "helloworld-help.pd" gets installed.
The text was updated successfully, but these errors were encountered: