Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mruby
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
mruby
Commits
b5f8fd34
Commit
b5f8fd34
authored
Jan 21, 2013
by
Yukihiro "Matz" Matsumoto
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #763 from matsumoto-r/change_cflags_name
Changed flags name in libmruby.flags.mak
parents
cc2e4e73
1db86c9e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
tasks/libmruby.rake
tasks/libmruby.rake
+3
-3
No files found.
tasks/libmruby.rake
View file @
b5f8fd34
...
@@ -2,14 +2,14 @@ MRuby.each_target do
...
@@ -2,14 +2,14 @@ MRuby.each_target do
file
libfile
(
"
#{
build_dir
}
/lib/libmruby"
)
=>
libmruby
.
flatten
do
|
t
|
file
libfile
(
"
#{
build_dir
}
/lib/libmruby"
)
=>
libmruby
.
flatten
do
|
t
|
archiver
.
run
t
.
name
,
t
.
prerequisites
archiver
.
run
t
.
name
,
t
.
prerequisites
open
(
"
#{
build_dir
}
/lib/libmruby.flags.mak"
,
'w'
)
do
|
f
|
open
(
"
#{
build_dir
}
/lib/libmruby.flags.mak"
,
'w'
)
do
|
f
|
f
.
puts
'CFLAGS = "%s"'
%
cc
.
all_flags
.
gsub
(
'"'
,
'\\"'
)
f
.
puts
'
MRUBY_
CFLAGS = "%s"'
%
cc
.
all_flags
.
gsub
(
'"'
,
'\\"'
)
gem_flags
=
gems
.
map
{
|
g
|
g
.
linker
.
flags
}
gem_flags
=
gems
.
map
{
|
g
|
g
.
linker
.
flags
}
gem_library_paths
=
gems
.
map
{
|
g
|
g
.
linker
.
library_paths
}
gem_library_paths
=
gems
.
map
{
|
g
|
g
.
linker
.
library_paths
}
f
.
puts
'LDFLAGS = "%s"'
%
linker
.
all_flags
(
gem_library_paths
,
gem_flags
).
gsub
(
'"'
,
'\\"'
)
f
.
puts
'
MRUBY_
LDFLAGS = "%s"'
%
linker
.
all_flags
(
gem_library_paths
,
gem_flags
).
gsub
(
'"'
,
'\\"'
)
gem_libraries
=
gems
.
map
{
|
g
|
g
.
linker
.
libraries
}
gem_libraries
=
gems
.
map
{
|
g
|
g
.
linker
.
libraries
}
f
.
puts
'LIBS = "%s"'
%
linker
.
library_flags
(
gem_libraries
).
gsub
(
'"'
,
'\\"'
)
f
.
puts
'
MRUBY_
LIBS = "%s"'
%
linker
.
library_flags
(
gem_libraries
).
gsub
(
'"'
,
'\\"'
)
end
end
end
end
end
end
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment