I'm running Linux with both static and dynamic versions of PCRE
installed. However I can only link against the dynamic version of the
libraries. How do I tell LDC to link with the static versions?

For example, in GCC I can force static with "-static":
gcc -o main -g -Wall -Werror main.c -static -lpcre

On LDC I can only try this:
ldc -g -w main.d -L="-static -lpcre"

Any help would be great.

-- 
You received this message because you are subscribed to the Google Groups "LDC 
- the LLVM D compiler" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/ldc-dev?hl=en.

Reply via email to