diff options
author | Martin Lambers <marlam@marlam.de> | 2011-04-27 14:14:57 (GMT) |
---|---|---|
committer | Martin Lambers <marlam@marlam.de> | 2011-04-27 14:14:57 (GMT) |
commit | 9590233b6e572451e3dc059bb4d5155f9a6eb7d9 (patch) | |
tree | ded354b5f8cdc8b5c7c067452568cd7c3f5be567 /src/libgsasl.mk | |
parent | e330c85907ad3fe482208382b06d42738aba177c (diff) | |
download | mxe-9590233b6e572451e3dc059bb4d5155f9a6eb7d9.zip mxe-9590233b6e572451e3dc059bb4d5155f9a6eb7d9.tar.gz mxe-9590233b6e572451e3dc059bb4d5155f9a6eb7d9.tar.bz2 |
package libgsasl: explicitly disable NLS
Without this patch, libgsasl drags in a dependency on libintl if
gettext happens to be built before libgsasl.
Also added a minimal test program.
Diffstat (limited to 'src/libgsasl.mk')
-rw-r--r-- | src/libgsasl.mk | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/libgsasl.mk b/src/libgsasl.mk index 5f30e53..811fc43 100644 --- a/src/libgsasl.mk +++ b/src/libgsasl.mk @@ -26,8 +26,14 @@ define $(PKG)_BUILD --host='$(TARGET)' \ --disable-shared \ --prefix='$(PREFIX)/$(TARGET)' \ + --disable-nls \ --with-libiconv-prefix='$(PREFIX)/$(TARGET)' \ --with-libidn-prefix='$(PREFIX)/$(TARGET)' \ --with-libntlm-prefix='$(PREFIX)/$(TARGET)' $(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= + + '$(TARGET)-gcc' \ + -W -Wall -Werror -ansi -pedantic \ + '$(2).c' -o '$(PREFIX)/$(TARGET)/bin/test-libgsasl.exe' \ + `'$(TARGET)-pkg-config' libgsasl --cflags --libs` endef |