Guest User

Untitled

a guest
Jul 17th, 2018
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.28 KB | None | 0 0
  1. --- a/config/gen/makefiles/root.in
  2. +++ b/config/gen/makefiles/root.in
  3. @@ -516,7 +516,7 @@ INSTALLABLENQP := $(CUR_DIR)/installable_parrot-nqp$(EXE)
  4.  
  5. # Libraries
  6. LIBPARROT_STATIC := @blib_dir@/@libparrot_static@
  7. -#IF(darwin):export DYLD_LIBRARY_PATH := @blib_dir@:$(DYLD_LIBRARY_PATH)
  8. +#IF(darwin):export DYLD_LIBRARY_PATH := @build_dir@/@blib_dir@:$(DYLD_LIBRARY_PATH)
  9. #IF(win32):LIBPARROT_SHARED := @libparrot_shared@
  10. #ELSE:LIBPARROT_SHARED := @blib_dir@/@libparrot_shared@
  11.  
  12. --- a/config/init/hints/darwin.pm
  13. +++ b/config/init/hints/darwin.pm
  14. @@ -50,6 +50,9 @@ sub runstep {
  15. if ($ENV{'MACOSX_DEPLOYMENT_TARGET'} eq '10.6') {
  16. $flagsref->{ccflags} .= ' -pipe -fno-common ';
  17. }
  18. + elsif ($ENV{'MACOSX_DEPLOYMENT_TARGET'} eq '10.5') {
  19. + $flagsref->{ccflags} .= ' -pipe -fno-common ';
  20. + }
  21. else {
  22. $flagsref->{ccflags} .= ' -pipe -fno-common -Wno-long-double ';
  23. }
  24. @@ -89,7 +92,7 @@ sub runstep {
  25. libparrot_shared_alias => "libparrot$share_ext",
  26. rpath => "-L",
  27. libparrot_soname => "-install_name "
  28. - . $lib_dir
  29. + . $conf->data->get('libdir')
  30. . $conf->data->get('slash')
  31. . "libparrot"
  32. . $conf->data->get('share_ext')
Add Comment
Please, Sign In to add comment