Skip to content

Commit 3630eac

Browse files
committed
Apply manual corrections
1 parent 3ae4fd1 commit 3630eac

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

ext/tiny_tds/extconf.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,16 @@
33

44
if ENV["MAINTAINER_MODE"]
55
warn "Maintainer mode enabled."
6-
$CFLAGS <<
6+
$CFLAGS << # standard:disable Style/GlobalVars
77
" -Wall" \
88
" -ggdb" \
99
" -DDEBUG" \
1010
" -pedantic"
11-
$LDFLAGS <<
11+
$LDFLAGS << # standard:disable Style/GlobalVars
1212
" -ggdb"
1313
end
1414

15-
if gem_platform = with_config("cross-build")
15+
if (gem_platform = with_config("cross-build"))
1616
require "mini_portile2"
1717

1818
openssl_platform = with_config("openssl-platform")
@@ -122,7 +122,7 @@ def configure_defaults
122122
end
123123

124124
# enable relative path to later load the FreeTDS shared library
125-
$LDFLAGS << " '-Wl,-rpath=$$ORIGIN/../../../ports/#{gem_platform}/lib'"
125+
$LDFLAGS << " '-Wl,-rpath=$$ORIGIN/../../../ports/#{gem_platform}/lib'" # standard:disable Style/GlobalVars
126126

127127
dir_config("freetds", "#{freetds_recipe.path}/include", "#{freetds_recipe.path}/lib")
128128
else

0 commit comments

Comments
 (0)