On Jan 23, 2008 4:39 PM, Eric Hodel <[EMAIL PROTECTED]> wrote:
> On Jan 23, 2008, at 05:39 AM, Austin Ziegler wrote:
>> Why isn't LDFLAGS being passed along to make in the Gem?
> Does it get passed without sudo?

No difference as far as I can tell. It looks like I *could* sneak it
in with ARCHFLAGS, but that doesn't seem right.

  % sudo bash
  # CPPFLAGS="-I/opt/local/include" ARCHFLAGS="-arch i386" \
        LDFLAGS="-L/opt/local/lib" gem install fxruby

g++ -I. -I. -I/System/Library/Frameworks/Ruby.framework/[...] \
        -I. -DHAVE_SYS_TIME_H -DHAVE_SIGNAL_H \
        -I/usr/local/include/fxscintilla -I/usr/local/include/fox-1.6 \
        -I/opt/local/include/fox-1.6 -I/opt/local/include/fxscintilla \
        -fno-common -arch i386 -Os -pipe -fno-common -O0 -Iinclude \
        -DWITH_FXSCINTILLA -DHAVE_FOX_1_6   -c unregisterOwnedObjects.cpp
cc -arch i386 -pipe -bundle -o fox16.bundle librb.o core_wrap.o \
         dc_wrap.o dialogs_wrap.o frames_wrap.o fx3d_wrap.o FXRbApp.o \
         FXRbDataTarget.o FXRbGLViewer.o FXRuby.o iconlist_wrap.o \
         icons_wrap.o image_wrap.o impl.o label_wrap.o layout_wrap.o \
         list_wrap.o markfuncs.o mdi_wrap.o menu_wrap.o scintilla_wrap.o \
         table_wrap.o text_wrap.o treelist_wrap.o ui_wrap.o \
         unregisterOwnedObjects.o -L"."
         -L"/System/Library/Frameworks/Ruby.framework/[...]" \
         -L"/usr/local/lib" -L"/usr/X11R6/lib" -L. -arch i386 -lruby \
         -lfxscintilla -lFOX-1.6 -lGLU -lX11 -lXext -lz -lstdc++ -lpthread \
         -ldl -lm
ld: library not found for -lfxscintilla
collect2: ld returned 1 exit status

> AFAIK, nothing is changed in the LDFLAGS within rubygems.

-austin
-- 
Austin Ziegler * [EMAIL PROTECTED] * http://www.halostatue.ca/
               * [EMAIL PROTECTED] * http://www.halostatue.ca/feed/
               * [EMAIL PROTECTED]
_______________________________________________
Rubygems-developers mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rubygems-developers

Reply via email to