Skip to content

Commit

Permalink
Another attempt to make pcre.h be found
Browse files Browse the repository at this point in the history
  • Loading branch information
kaushalmodi committed Oct 10, 2018
1 parent 64c10f5 commit 959e158
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config.nims
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ when defined(musl):
when defined(pcre):
if not existsFile(pcreLibFile):
selfExec "installPcre" # Install PCRE in current dir if pcreLibFile is not found
putEnv("CFLAGS", "-I" & pcreIncludeDir) # So that pcre.h is found when running the musl task
switch("passC", "-I" & pcreIncludeDir) # So that pcre.h is found when running the musl task
switch("define", "usePcreHeader")
switch("passL", pcreLibFile)
switch("passL", "-static")
Expand Down

0 comments on commit 959e158

Please sign in to comment.