diff options
Diffstat (limited to 'src/ilmbase.mk')
-rw-r--r-- | src/ilmbase.mk | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ilmbase.mk b/src/ilmbase.mk index 1747b9e..9d698e5 100644 --- a/src/ilmbase.mk +++ b/src/ilmbase.mk @@ -20,8 +20,6 @@ define $(PKG)_UPDATE endef define $(PKG)_BUILD - # wine confuses the cross-compiling detection, so set it explicitly - $(SED) -i 's,cross_compiling=no,cross_compiling=yes,' '$(1)/configure' # build the win32 thread sources instead of the posix thread sources $(SED) -i 's,IlmThreadPosix\.,IlmThreadWin32.,' '$(1)/IlmThread/Makefile.in' $(SED) -i 's,IlmThreadSemaphorePosix\.,IlmThreadSemaphoreWin32.,' '$(1)/IlmThread/Makefile.in' @@ -31,6 +29,7 @@ define $(PKG)_BUILD # threading. It will just disable the unwanted check for pthread. cd '$(1)' && $(SHELL) ./configure \ --host='$(TARGET)' \ + --build='$(BUILD)' \ --disable-shared \ --prefix='$(PREFIX)/$(TARGET)' \ --disable-threading \ |