13 lines
370 B
Text
13 lines
370 B
Text
|
Index: auto.def
|
||
|
--- auto.def.orig
|
||
|
+++ auto.def
|
||
|
@@ -300,7 +300,7 @@ if {[opt-bool with-th1-hooks]} {
|
||
|
|
||
|
if {[opt-bool static]} {
|
||
|
# XXX: This will not work on all systems.
|
||
|
- define-append EXTRA_LDFLAGS -static
|
||
|
+ define-append EXTRA_LDFLAGS ${STATIC}
|
||
|
msg-result "Trying to link statically"
|
||
|
} else {
|
||
|
define-append EXTRA_CFLAGS -DFOSSIL_DYNAMIC_BUILD=1
|