mirror of
https://git.gfz-potsdam.de/naaice/iphreeqc.git
synced 2025-12-15 16:18:22 +01:00
git-svn-id: svn://136.177.114.72/svn_GW/IPhreeqc/trunk@4656 1feff8c3-07ed-0310-ac33-dd36852eb9cd
28 lines
964 B
Plaintext
28 lines
964 B
Plaintext
Building Static Libraries
|
|
=========================
|
|
./configure
|
|
make LDFLAGS=-all-static check
|
|
|
|
This will attemp to link ALL libraries statically. To be successful all libraries must have .a files.
|
|
|
|
|
|
Building Static iphreeqc Library
|
|
================================
|
|
./configure
|
|
make LDFLAGS=-static check
|
|
|
|
This will link the iphreeqc library statically. All required additional libraries may be linked to
|
|
shared libraries.
|
|
|
|
|
|
Building shared and static iphreeqc Library (linking tests statically)
|
|
======================================================================
|
|
./configure
|
|
make
|
|
make LDFLAGS=-static check # static to iphreeqc
|
|
or
|
|
make LDFLAGS=-all-static check # completely static (if possible)
|
|
|
|
This configuration will create both static and shared (if supported) iphreeqc libraries. But
|
|
test programs (created during make check) will be statically linked to iphreeqc library
|