-
-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: introduce activate_mkmf with support for pkg-config
which will set $LDFLAGS and $CFLAGS according to the pkg-config file This should allow gems with C extensions that use mini_portile to pass in the pkg-config and everything should just work.
- Loading branch information
1 parent
f9212d1
commit ad78dae
Showing
6 changed files
with
181 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,3 +3,4 @@ Gemfile.lock | |
pkg | ||
ports | ||
tmp | ||
mkmf.log |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
prefix=/foo/libxml2/2.11.5 | ||
exec_prefix=${prefix} | ||
libdir=/foo/libxml2/2.11.5/lib | ||
includedir=${prefix}/include | ||
modules=1 | ||
|
||
Name: libXML | ||
Version: 2.11.5 | ||
Description: libXML library version2. | ||
Requires: | ||
Libs: -L${libdir} -lxml2 | ||
Libs.private: -L/foo/zlib/1.3/lib -lz -lm | ||
Cflags: -I${includedir}/libxml2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
prefix=/foo/libxslt/1.1.38 | ||
exec_prefix=${prefix} | ||
libdir=/foo/libxslt/1.1.38/lib | ||
includedir=${prefix}/include | ||
|
||
|
||
Name: libxslt | ||
Version: 1.1.38 | ||
Description: XSLT library version 2. | ||
Requires: libxml-2.0 | ||
Cflags: -I${includedir} | ||
Libs: -L${libdir} -lxslt | ||
Libs.private: -lm |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters