# Re: Has anyone written an extconf.rb that depends on a Mac O

**URL:** <https://www.ruby-forum.com/t/re-has-anyone-written-an-extconf-rb-that-depends-on-a-mac-o/47942>\
**Category:** Ruby\
**Created:** [November 15, 2005, 10:43am UTC](https://www.ruby-forum.com/t/re-has-anyone-written-an-extconf-rb-that-depends-on-a-mac-o/47942 "2005-11-15T10:43:38Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pete.Wood](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/ea5d25/32.png) [@Pete.Wood](https://www.ruby-forum.com/u/Pete.Wood)\
**Post date:** [November 15, 2005, 10:43am UTC](https://www.ruby-forum.com/t/re-has-anyone-written-an-extconf-rb-that-depends-on-a-mac-o/47942/1 "2005-11-15T10:43:38Z")

</div>

I use a OS X framework in creating the FireRuby library on the Mac. All  
I  
did to support this in the extconf.rb was add a line like the following  
into  
this file…

$LDFLAGS = $LDFLAGS + " -framework Firebird"

I’m not sure if this is the way it’s supposed to be done but it works  
for  
me.

Peter
