次のようなオプションを使用して、makefile.amを拡張したい:
これは、makefile.am の元の部分です。
OPTIONS := -Wl,-rpath,/usr/local/lib
if DEBUGGING
OPTIONS += -O0 -g3 -Wall
これは私が追加したいものです
OPTIONS := -Wl,-rpath,/usr/local/lib
if WIN
OPTIONS += -static-libgcc -static-libstdc++
if DEBUGGING
OPTIONS += -O0 -g3 -Wall
--enable-win を ./configure に渡すと、「if WIN」部分が使用されるようになります。ご覧のとおり、このオプションを configure.ac ファイルに追加する必要がありますが、方法がわかりません。