Changes between Initial Version and Version 1 of Ticket #156


Ignore:
Timestamp:
Apr 20, 2017, 9:46:17 PM (7 years ago)
Author:
dmik
Comment:

A solution to this problem is the second expansion, something like this:

ac_link='eval python.exe -c \"import sys\; print sys.argv\" $LDFLAGS'
LDFLAGS="-lcx -Zlinker 'DISABLE 1121'"

eval "$ac_link"

This script gives a correct result:

['-c', '-lcx', '-Zlinker', 'DISABLE 1121']

Now it's necessary to built it into autoconf making sure we don't break anything.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #156 – Description

    initial v1  
    33#!/bin/sh
    44
    5 CMD='python.exe -c "import sys; print sys.argv" $LDFLAGS'
     5ac_link='python.exe -c "import sys; print sys.argv" $LDFLAGS'
    66LDFLAGS="-lcx -Zlinker 'DISABLE 1121'"
    77
    8 eval $CMD
     8eval "$ac_link"
    99}}}
    1010