Skip to content

Commit

Permalink
build: update flags
Browse files Browse the repository at this point in the history
  • Loading branch information
ttytm committed Nov 9, 2024
1 parent 580d6d1 commit 03ccf6b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions curl/build.vsh
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import net.http

const parent_dir = '${@VMODROOT}/curl'
const dl_base_url = 'https://curl.se/download/'
const dl_file = 'curl-8.10.0.tar.gz'
const dl_dir = join_path(parent_dir, 'curl-8.10.0')
const dl_file = 'curl-8.9.1.tar.gz'
const dl_dir = join_path(parent_dir, 'curl-8.9.1')
const dst_dir = join_path(parent_dir, 'libcurl')

fn download(silent bool) {
Expand Down
3 changes: 2 additions & 1 deletion curl/lib.v
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@ import instructions
import state

#flag -I@VMODROOT/curl/libcurl/include
#flag -L@VMODROOT/curl/libcurl/lib/.libs
#flag linux @VMODROOT/curl/libcurl/lib/.libs/libcurl.so
#flag darwin -L@VMODROOT/curl/libcurl/lib/.libs -lcurl
#flag darwin -lcurl
#include "curl/curl.h"

pub type Handle = C.CURL
Expand Down

0 comments on commit 03ccf6b

Please sign in to comment.