Skip to content

Commit

Permalink
restore lib, for now only win
Browse files Browse the repository at this point in the history
  • Loading branch information
ttytm committed Nov 11, 2024
1 parent 7b2f33e commit c1d3a10
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions curl/lib.v
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,17 @@ module curl
import instructions
import state

// #flag -I@VMODROOT/curl/libcurl/include
// #include "curl/curl.h"

// #flag windows @VMODROOT/curl/libcurl/bin/libcurl-x64.dll
$if !windows {
#flag -L@VMODROOT/curl/libcurl
#flag -lcurl
}

#flag -lcurl
#include <curl/curl.h>
#flag -I@VMODROOT/curl/libcurl/include
#flag @VMODROOT/curl/libcurl/bin/libcurl-x64.dll
#include "curl/curl.h"

// $if !windows {
// #flag -L@VMODROOT/curl/libcurl
// #flag -lcurl
// }
//
// #flag -lcurl
// #include <curl/curl.h>

pub type Handle = C.CURL

Expand Down

0 comments on commit c1d3a10

Please # to comment.