File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -306,7 +306,7 @@ if ($install_sassc) {
306
306
$sassc_version = <$fh > if (defined $fh );
307
307
chomp ($sassc_version );
308
308
print " Detected sassc $sassc_version \n " ;
309
- # create compile flags to include the libsass version
309
+ # create compile flags to include the sassc version
310
310
push @defs , qq( SASSC_VERSION=\\ "$sassc_version \\ ") ;
311
311
} else {
312
312
# give a warning if the version could not be determined (probably not generated yet)
@@ -648,6 +648,10 @@ sub libsass_sassc
648
648
}
649
649
# otherwise we asume gcc
650
650
else {
651
+ # On windows there is nothing like rpath for dll load paths
652
+ # So dll and sassc would need to be in same directory
653
+ # For now we just fall back to link sassc statically
654
+ my $static = $static || $^O eq ' MSWin32' ;
651
655
# create the sassc executable by linking against sassc and libsass
652
656
push @ret , " \t " . ' $(LD) -o $(SASSC_EXE) $(LDFLAGS) -lm $(SASSC_OBJ) $(LIBS)'
653
657
. ' ' . ($static ? ' $(LIBSASS_OBJ)' : ' -L$(INST_ARCHAUTODIR) -lsass -lstdc++' )
You can’t perform that action at this time.
0 commit comments