Skip to content
Snippets Groups Projects
Commit 29cd27d2 authored by Jonathan Lambrechts's avatar Jonathan Lambrechts
Browse files

dg : functionC adjuste make path

parent 7f981b09
No related branches found
No related tags found
No related merge requests found
...@@ -674,7 +674,8 @@ class functionLua : public function { ...@@ -674,7 +674,8 @@ class functionLua : public function {
// functionC // functionC
void functionC::buildLibraryFromFile(const std::string cfilename, const std::string libfilename) { void functionC::buildLibraryFromFile(const std::string cfilename, const std::string libfilename) {
FILE *tmpMake = fopen("_tmpMake", "w"); FILE *tmpMake = fopen("_tmpMake", "w");
fprintf(tmpMake, "include $(DG_BUILD_DIR)/CMakeFiles/dg.dir/flags.make\n" fprintf(tmpMake,
"include $(DG_BUILD_DIR)/CMakeFiles/dgshared.dir/flags.make\n"
"%s : %s\n" "%s : %s\n"
"\tg++ -fPIC -shared -o $@ $(CXX_FLAGS) $(CXX_DEFINES) $<\n", "\tg++ -fPIC -shared -o $@ $(CXX_FLAGS) $(CXX_DEFINES) $<\n",
libfilename.c_str(), cfilename.c_str()); libfilename.c_str(), cfilename.c_str());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment