Rename :libpng to :x11 and alias.
This commit is contained in:
parent
8d7ebb8ba3
commit
36bb590e82
@ -133,12 +133,12 @@ module HomebrewEnvExtension
|
|||||||
def libxml2
|
def libxml2
|
||||||
append_to_cflags ' -I/usr/include/libxml2'
|
append_to_cflags ' -I/usr/include/libxml2'
|
||||||
end
|
end
|
||||||
# TODO rename or alias to x11
|
def x11
|
||||||
def libpng
|
|
||||||
# CPPFLAGS are the C-PreProcessor flags, *not* C++!
|
# CPPFLAGS are the C-PreProcessor flags, *not* C++!
|
||||||
append 'CPPFLAGS', '-I/usr/X11R6/include'
|
append 'CPPFLAGS', '-I/usr/X11R6/include'
|
||||||
append 'LDFLAGS', '-L/usr/X11R6/lib'
|
append 'LDFLAGS', '-L/usr/X11R6/lib'
|
||||||
end
|
end
|
||||||
|
alias_method :libpng, :x11
|
||||||
# we've seen some packages fail to build when warnings are disabled!
|
# we've seen some packages fail to build when warnings are disabled!
|
||||||
def enable_warnings
|
def enable_warnings
|
||||||
remove_from_cflags '-w'
|
remove_from_cflags '-w'
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user