Changeset 226 for SConstruct
- Timestamp:
- 04/05/11 15:01:41 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
SConstruct
r225 r226 1 cflags = '-std=gnu99 -pedantic -Wall '1 cflags = '-std=gnu99 -pedantic -Wall -D_FILE_OFFSET_BITS=64 -DREGFI_WIN32' 2 2 3 3 libiconv_path='win32/libiconv/' … … 100 100 regfi_obj.append(s[0:-1]+'o') 101 101 102 # XXX: Several options here may not be necessary. 103 # Need to investigate why stdcall interfaces don't seem to be 104 # working on Windows. 102 105 env.Command(input_prefix+'lib/libregfi.o', regfi_o+extra_obj, 103 106 'i586-mingw32msvc-dlltool --export-all-symbols' 104 +' -- dllname libregfi.dll -e $TARGET'107 +' --add-stdcall-alias --dllname libregfi.dll -e $TARGET' 105 108 +' -l %slib/libregfi.dll.a %s' 106 109 % (input_prefix, ' '.join(regfi_obj))) … … 108 111 env.Command(input_prefix+'lib/libregfi.dll', 109 112 input_prefix+'lib/libregfi.o', 110 'i586-mingw32msvc-gcc --shared -o $TARGET $SOURCE %s' 113 'i586-mingw32msvc-gcc ' + cflags 114 + ' --shared -Wl,--out-implib -add-stdcall-alias -o $TARGET $SOURCE %s' 111 115 % ' '.join(regfi_obj+extra_obj)) 112 116
Note: See TracChangeset
for help on using the changeset viewer.