Skip to content

Commit

Permalink
Another attempt.
Browse files Browse the repository at this point in the history
  • Loading branch information
viega committed Jul 21, 2024
1 parent a5517fb commit 3dd6a6e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ if (host_machine.system() == 'darwin')
if not get_option('use_frame_intrinsic').disabled()
c_args = c_args + ['-DC4M_USE_FRAME_INTRINSIC']
endif

libcurl = dependency('curl')
else
using_osx = false
link_args = []
Expand All @@ -55,6 +57,8 @@ else
if get_option('use_frame_intrinsic').enabled()
c_args = c_args + ['-DC4M_USE_FRAME_INTRINSIC']
endif

libcurl = cc.find_library('curl')
endif

if get_option('forkless_tests').enabled()
Expand Down Expand Up @@ -334,7 +338,6 @@ ssl = cc.find_library('ssl')

unibreak = dependency('libunibreak')
utf8proc = dependency('libutf8proc')
libcurl = dependency('curl')

deps = [unibreak, utf8proc, threads, ffi, ssl, crypto, backtrace, libcurl]
opts = [math]
Expand Down

0 comments on commit 3dd6a6e

Please sign in to comment.