Displaying 1 result from an estimated 1 matches for "stp_install_prefix".
2012 Nov 14
2
[LLVMdev] Linking Clang with an optional external library
...il/llvm-dev/attachments/20121114/55921a64/attachment.obj>
-------------- next part --------------
Besides the configure.ac changes in the patch, I am unsure of the appropriate place to add the linker flag. Currently I am simply appending to LDFLAGS in Clang's tools/driver/Makefile:
+ifdef STP_INSTALL_PREFIX
+LDFLAGS += -L$(STP_INSTALL_PREFIX)/lib -lstp
+endif
To support CMake builds as well, is it sufficient to add the following to config.h.cmake, and expect the user to pass -DWITH_STP_PREFIX= if they would like to use this feature?
#cmakedefine STP_C_INTERFACE ${WITH_STP_PREFIX}/include/stp/c_inte...