diff options
| author | eban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2000-08-09 21:27:10 +0000 |
|---|---|---|
| committer | eban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2000-08-09 21:27:10 +0000 |
| commit | a70dfc773315f0d50ed733920007da96227c4805 (patch) | |
| tree | 35256f82a2c193df021844419500c33bb996ccf3 /ext/tcltklib | |
| parent | 868ae82fb503ef6e128052a807c72da18fbe721c (diff) | |
| download | ruby-a70dfc773315f0d50ed733920007da96227c4805.tar.gz ruby-a70dfc773315f0d50ed733920007da96227c4805.tar.xz ruby-a70dfc773315f0d50ed733920007da96227c4805.zip | |
eban
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@888 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/tcltklib')
| -rw-r--r-- | ext/tcltklib/depend | 1 | ||||
| -rw-r--r-- | ext/tcltklib/extconf.rb | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/ext/tcltklib/depend b/ext/tcltklib/depend index e91f9dacb..2cd9c400f 100644 --- a/ext/tcltklib/depend +++ b/ext/tcltklib/depend @@ -1 +1,2 @@ tcltklib.o: tcltklib.c $(hdrdir)/ruby.h $(topdir)/config.h $(hdrdir)/defines.h +stubs.o: stubs.c $(hdrdir)/ruby.h $(topdir)/config.h $(hdrdir)/defines.h diff --git a/ext/tcltklib/extconf.rb b/ext/tcltklib/extconf.rb index acc75b8cb..58f2708c7 100644 --- a/ext/tcltklib/extconf.rb +++ b/ext/tcltklib/extconf.rb @@ -50,6 +50,6 @@ if have_header("tcl.h") && have_header("tk.h") && "/usr/X11/lib", "/usr/X11R6/lib", "/usr/openwin/lib")) && find_tcl(tcllib, stubs) && find_tk(tklib, stubs) - $CFLAGS += ' -DUSE_TCL_STUBS -DUSE_TK_STUBS' if stubs + $CPPFLAGS += ' -DUSE_TCL_STUBS -DUSE_TK_STUBS' if stubs create_makefile("tcltklib") end |
