File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -70,13 +70,13 @@ def on_windows
70
70
sys ( "cmake .. -DBUILD_CLAR=OFF -DTHREADSAFE=ON -DBUILD_SHARED_LIBS=OFF -DCMAKE_C_FLAGS=-fPIC -DCMAKE_BUILD_TYPE=RelWithDebInfo -G \" Unix Makefiles\" " )
71
71
sys ( MAKE )
72
72
73
- # "normal" libraries (and libgit2 builds) get all these when they build but we're doing it
74
- # statically so we put the libraries in by hand. It's important that we put the libraries themselves
75
- # in $LIBS or the final linking stage won't pick them up
73
+ # "normal" libraries (and libgit2 builds) get all these when they build but we're doing it
74
+ # statically so we put the libraries in by hand. It's important that we put the libraries themselves
75
+ # in $LIBS or the final linking stage won't pick them up
76
76
if on_windows
77
- $LDFLAGS << " " + "-L#{ Dir . pwd } /deps/winhttp"
78
- $LIBS << " -lwinhttp -lcrypt32 -lrpcrt4 -lole32"
79
- else
77
+ $LDFLAGS << " " + "-L#{ Dir . pwd } /deps/winhttp"
78
+ $LIBS << " -lwinhttp -lcrypt32 -lrpcrt4 -lole32"
79
+ else
80
80
pcfile = File . join ( LIBGIT2_DIR , "build" , "libgit2.pc" )
81
81
$LDFLAGS << " " + `pkg-config --libs --static #{ pcfile } ` . strip
82
82
end
You can’t perform that action at this time.
0 commit comments