@@ -797,7 +797,7 @@ def is_windows_lto_supported():
797797 config .substitutions .append (
798798 (
799799 "%ld_flags_rpath_exe" + postfix ,
800- "-Wl,-z,origin -Wl,-rpath,\$ORIGIN -L%T -l%xdynamiclib_namespec"
800+ r "-Wl,-z,origin -Wl,-rpath,\$ORIGIN -L%T -l%xdynamiclib_namespec"
801801 + postfix ,
802802 )
803803 )
@@ -806,15 +806,15 @@ def is_windows_lto_supported():
806806 config .substitutions .append (
807807 (
808808 "%ld_flags_rpath_exe" + postfix ,
809- "-Wl,-rpath,\$ORIGIN -L%T -l%xdynamiclib_namespec" + postfix ,
809+ r "-Wl,-rpath,\$ORIGIN -L%T -l%xdynamiclib_namespec" + postfix ,
810810 )
811811 )
812812 config .substitutions .append (("%ld_flags_rpath_so" + postfix , "" ))
813813 elif config .host_os == "SunOS" :
814814 config .substitutions .append (
815815 (
816816 "%ld_flags_rpath_exe" + postfix ,
817- "-Wl,-R\$ORIGIN -L%T -l%xdynamiclib_namespec" + postfix ,
817+ r "-Wl,-R\$ORIGIN -L%T -l%xdynamiclib_namespec" + postfix ,
818818 )
819819 )
820820 config .substitutions .append (("%ld_flags_rpath_so" + postfix , "" ))
0 commit comments