From 0502f97a448f862f6bb6aa6702659a18810f9370 Mon Sep 17 00:00:00 2001 From: Polite Kiwi Date: Tue, 15 Jan 2019 08:18:22 -0500 Subject: [PATCH] darr.c/h is not just darr.h (header only) --- build.bat | 8 ++++---- build.sh | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/build.bat b/build.bat index 80ceac2..7aeb824 100644 --- a/build.bat +++ b/build.bat @@ -291,10 +291,10 @@ setlocal ) echo Compiling luaw driver package %1... - %gcc% %attrib% %dirs% %luaverdef% -D__USE_MINGW_ANSI_STDIO=1 -DLC_LD_DLL -c %srcdir%\ldata.c %srcdir%\jitsupport.c %srcdir%\darr.c + %gcc% %attrib% %dirs% %luaverdef% -D__USE_MINGW_ANSI_STDIO=1 -DLC_LD_DLL -c %srcdir%\ldata.c %srcdir%\jitsupport.c echo Linking luaw driver package %1... - %GCC% %attrib% %dirs% -shared -o lc%1.dll ldata.o jitsupport.o darr.o %luaverout% + %GCC% %attrib% %dirs% -shared -o lc%1.dll ldata.o jitsupport.o %luaverout% goto :EOF endlocal @@ -302,10 +302,10 @@ setlocal :build_driver setlocal echo Compiling luaw driver... - %GCC% %attrib% %dirs% -D__USE_MINGW_ANSI_STDIO=1 -DDEFAULT_LUA=\"lc%1.dll\" -c %srcdir%\darr.c %srcdir%\luadriver.c + %GCC% %attrib% %dirs% -D__USE_MINGW_ANSI_STDIO=1 -DDEFAULT_LUA=\"lc%1.dll\" -c %srcdir%\luadriver.c echo Linking luaw driver... - %GCC% %attrib% %dirs% -o luaw.exe luadriver.o darr.o + %GCC% %attrib% %dirs% -o luaw.exe luadriver.o call :build_package %1 diff --git a/build.sh b/build.sh index aa1d6e5..5391663 100755 --- a/build.sh +++ b/build.sh @@ -252,20 +252,20 @@ function build_package() { fi echo "Compiling luaw driver package $1..." - $GCC $attrib $dirs -fPIC -DLC_LD_DLL $luaverdef -c $srcdir/ldata.c $srcdir/jitsupport.c $srcdir/darr.c + $GCC $attrib $dirs -fPIC -DLC_LD_DLL $luaverdef -c $srcdir/ldata.c $srcdir/jitsupport.c echo "Linking luaw driver package $1..." - $GCC $attrib $dirs -fPIC -shared -Wl,-E -o lc$1.so ldata.o jitsupport.o darr.o $luaverout + $GCC $attrib $dirs -fPIC -shared -Wl,-E -o lc$1.so ldata.o jitsupport.o $luaverout echo "Finished building driver package $1." } function build_driver() { echo "Compiling luaw driver $1..." - $GCC $attrib $dirs -DDEFAULT_LUA=\"lc$1.so\" -c $srcdir/darr.c $srcdir/luadriver.c + $GCC $attrib $dirs -DDEFAULT_LUA=\"lc$1.so\" -c $srcdir/luadriver.c echo "Linking luaw driver $1..." - $GCC $attrib $dirs -o luaw luadriver.o darr.o -ldl + $GCC $attrib $dirs -o luaw luadriver.o -ldl build_package $1