Skip to content

Commit

Permalink
build: add spidermonkey flags to flusspferd.pc
Browse files Browse the repository at this point in the history
  • Loading branch information
aristidb committed May 16, 2009
1 parent 0dbe02a commit 8996ed6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CMakeLists.txt
Expand Up @@ -455,6 +455,10 @@ INSTALL(
FILES ${Flusspferd_BINARY_DIR}/js/jsrepl.js
DESTINATION ${INSTALL_ETC_PATH}/flusspferd)

FOREACH(_FLAG @SPIDERMONKEY_DEFINITIONS@)
SET(FLUSSPFERD_EXTERNAL_CFLAGS "${FLUSSPFERD_EXTERNAL_CFLAGS} ${_FLAG}")
ENDFOREACH()

CONFIGURE_FILE(
${Flusspferd_SOURCE_DIR}/flusspferd.pc.in
${Flusspferd_BINARY_DIR}/flusspferd.pc
Expand Down
2 changes: 1 addition & 1 deletion flusspferd.pc.in
Expand Up @@ -31,4 +31,4 @@ Description: Javascript Bindings for C++
Version: @FLUSSPFERD_VERSION@
# Requires:
Libs: -L${libdir} -lflusspferd
Cflags: -I${includedir}
Cflags: -I${includedir} @FLUSSPFERD_EXTERNAL_CFLAGS@

0 comments on commit 8996ed6

Please sign in to comment.