summaryrefslogtreecommitdiffstats
path: root/src/file.mk
diff options
context:
space:
mode:
authorTimothy Gu <timothygu99@gmail.com>2014-07-23 02:26:40 (GMT)
committerTimothy Gu <timothygu99@gmail.com>2014-07-23 02:26:40 (GMT)
commit71f09d8a66d836704319738638059cd74f6faee5 (patch)
tree330721981e3e2e8a5943b1afc6f6d577f96d28ec /src/file.mk
parent1c3548e71ee51ae4ea6f4ebb5af06aaafa55d08b (diff)
downloadmxe-71f09d8a66d836704319738638059cd74f6faee5.zip
mxe-71f09d8a66d836704319738638059cd74f6faee5.tar.gz
mxe-71f09d8a66d836704319738638059cd74f6faee5.tar.bz2
file: enable shared build
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
Diffstat (limited to 'src/file.mk')
-rw-r--r--src/file.mk9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/file.mk b/src/file.mk
index 2d28f95..b809624 100644
--- a/src/file.mk
+++ b/src/file.mk
@@ -28,10 +28,7 @@ define $(PKG)_BUILD
$(MAKE) -C '$(1).native/src' -j '$(JOBS)' file
cd '$(1)' && ./configure \
- --host='$(TARGET)' \
- --build="`config.guess`" \
- --disable-shared \
- --prefix='$(PREFIX)/$(TARGET)' \
+ $(MXE_CONFIGURE_OPTS) \
CFLAGS=-DHAVE_PREAD
$(MAKE) -C '$(1)' -j '$(JOBS)' bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= man_MANS= FILE_COMPILE='$(1).native/src/file'
$(MAKE) -C '$(1)' -j 1 install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= man_MANS=
@@ -40,6 +37,4 @@ define $(PKG)_BUILD
-W -Wall -Werror -ansi -pedantic \
'$(2).c' -o '$(PREFIX)/$(TARGET)/bin/test-file.exe' \
-lmagic -lgnurx -lshlwapi
-endef
-
-$(PKG)_BUILD_SHARED =
+endef \ No newline at end of file