Skip to content

Instantly share code, notes, and snippets.

@tonycoz
Created November 21, 2016 23:26
Show Gist options
  • Save tonycoz/7ca2087b73e755fb25e1229588f96cd9 to your computer and use it in GitHub Desktop.
Save tonycoz/7ca2087b73e755fb25e1229588f96cd9 to your computer and use it in GitHub Desktop.
libperl_dtrace_obj=$(ndt_obj:%=lpdtrace/%)
$(libperl_dtrace_obj) $(DTRACE_PERLLIB_O): $(perllib_objs_nodt) perldtrace.d
[ -d lpdtrace ] || mkdir lpdtrace
cp $(ndt_obj) lpdtrace/
$(DTRACE) -G -s perldtrace.d -o $(DTRACE_PERLLIB_O)
# and use $(libperl_dtrace_obj) to build libperl.{a|so) instead of $(perllib_objs_nodt)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment