Test for depend_rules method (in 1.9, not 1.8) in extconf.
This commit is contained in:
parent
f37d5499c7
commit
f2dc5dfe9a
|
@ -17,7 +17,8 @@ end
|
|||
c_sources = ['psem.c', 'psem_error.c', 'psem_posix.c', 'bsem.c', 'constants.c']
|
||||
$objs += ['psem.o', 'psem_error.o', 'bsem.o', 'constants.o']
|
||||
|
||||
depend_rules <<-END
|
||||
if respond_to? :depend_rules
|
||||
depend_rules <<-END
|
||||
psem.c: psem.h psem_posix.c
|
||||
psem_error.c: psem_error.h
|
||||
|
||||
|
@ -31,6 +32,6 @@ mempcpy.c: mempcpy.h
|
|||
|
||||
libpsem.o: #{$objs.join(' ')}
|
||||
END
|
||||
|
||||
end
|
||||
|
||||
create_makefile('libpsem')
|
||||
|
|
Loading…
Reference in New Issue