Skip to content

Commit

Permalink
check [2]
Browse files Browse the repository at this point in the history
  • Loading branch information
maxirmx committed Jan 16, 2025
1 parent 3ff5549 commit 478cff3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 6 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,12 @@ endif(IS_GNU)
# ...................................................................
# Ruby

if(IS_DARWIN)
set(RUBY_L_FLAGS "-L${DEPS_LIB_DIR} -L${CMAKE_CURRENT_BINARY_DIR}")
else(IS_DARWIN)
set(RUBY_L_FLAGS "")
endif(IS_DARWIN)

set(RUBY_L_FLAGS "-L${DEPS_LIB_DIR} -L${CMAKE_CURRENT_BINARY_DIR}")
set(RUBY_C_FLAGS "-fPIC -I${DEPS_INCLUDE_DIR} -I${CMAKE_CURRENT_SOURCE_DIR}/include")

Expand Down
3 changes: 0 additions & 3 deletions lib/tebako/cli.rb
Original file line number Diff line number Diff line change
Expand Up @@ -142,9 +142,6 @@ def self.exit_on_failure?
def bootstrap(clean: false)
options_manager = Tebako::OptionsManager.new(options)
# creating it for MacOs environment where it want to have all lib folders exiting at configuration stage
puts "*** Creating #{options_manager.deps_lib_dir}, #{options_manager.output_folder} ***"
FileUtils.mkdir_p(options_manager.deps_lib_dir)
FileUtils.mkdir_p(options_manager.output_folder)
cache_manager = Tebako::CacheManager.new(options_manager.deps, options_manager.source,
options_manager.output_folder)
cache_manager.version_cache_check unless options[:devmode] || clean
Expand Down

0 comments on commit 478cff3

Please sign in to comment.