# Mkmf and quoting -L and -I paths

**URL:** <https://www.ruby-forum.com/t/mkmf-and-quoting-l-and-i-paths/124959>\
**Category:** Ruby\
**Created:** [January 4, 2008, 1:55am UTC](https://www.ruby-forum.com/t/mkmf-and-quoting-l-and-i-paths/124959 "2008-01-04T01:55:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![s450r1](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/87869e/32.png) [@s450r1](https://www.ruby-forum.com/u/s450r1)\
**Post date:** [January 4, 2008, 1:55am UTC](https://www.ruby-forum.com/t/mkmf-and-quoting-l-and-i-paths/124959/1 "2008-01-04T01:55:33Z")

</div>

It seems that there are multiple versions of mkmf around, and they have  
different behavior when it comes to quoting the -L and -I paths.

What is the preferred way to write an extconf.rb such that paths  
supplied to dir\_config are properly quoted throughout the Makefile (i.e.  
so that the paths may contain spaces, etc.)?

Regards,  
Jeff D.
