File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,9 @@ Some Windows capability is also included. One constraint in the cgo package is i
35
35
for path names containing spaces and special characters, which makes it tricky to
36
36
compile against a copy of MQ installed in the regular location. To build these packages I copied
37
37
<mq install >/tools/c/include and <mq install >/bin64 to be under a temporary directory, shown
38
- in the CFLAGS and LDFLAGS directives.
38
+ in the CFLAGS and LDFLAGS directives. This constraint seems to be removed
39
+ in the Go 1.9 compiler; once that has reached a general availability level,
40
+ I'll update this package to use standard MQ install paths.
39
41
40
42
## Getting started
41
43
Original file line number Diff line number Diff line change @@ -17,6 +17,10 @@ the particular MQRC or MQCC values.
17
17
The build directives for Windows assume the header and library files have
18
18
been copied to a temporary location, because the default paths are not
19
19
acceptable to Go (it does not like spaces or special characters like ~).
20
+ Note: This problem appears to have been fixed in Go 1.9, and once that
21
+ is fully available, the directives will be changed to a more reasonable
22
+ path in this file. For example
23
+ cgo windows CFLAGS -I"c:/Program Files/IBM/MQ/tools/c/include" -m64
20
24
21
25
The build directives for Linux assume the default MQ installation path
22
26
in /opt/mqm. These would need to be changed in this file if you use a
You can’t perform that action at this time.
0 commit comments