Project

General

Profile

Actions

Backport #8593

closed

MKMF have_framework check assumes the framework and header are identically named

Added by karljs (Karl Smeltzer) almost 11 years ago. Updated almost 11 years ago.


Description

I am working on a Ruby extension in which the C code links against SDL2.0 on OSX. This is distributed as an OSX framework (SDL2.framework directory) but the primary header file is simply SDL.h and not SDL2.h

When I add have_framework('SDL2') to my extconf.rb file, it fails the check because it only tests for SDL2/SDL2.h

If I create a symlink named SDL2.h in the same directory, then the check passes and everything builds correctly.

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0