X-Git-Url: http://git.kpe.io/?p=clsql.git;a=blobdiff_plain;f=uffi%2FMakefile;fp=uffi%2FMakefile;h=7599380f1c047befc356d12833a898ef84cdaad2;hp=77203fdfc723150ac9baf5a3b98a149cc14f0e27;hb=eeb36233c9881cd2bb141f7a3241afbe82feda8d;hpb=ed507b70a9d910372d1378cf0a7754fc88171183 diff --git a/uffi/Makefile b/uffi/Makefile index 77203fd..7599380 100644 --- a/uffi/Makefile +++ b/uffi/Makefile @@ -55,11 +55,11 @@ else else ifneq ($(OS_LINUX64),0) gcc $(CFLAGS) -fPIC -DPIC -c $(source) -o $(object) - ld $(LDFLAGS) -shared -soname=$(base) -lc $(object) -o $(shared64_lib) + gcc $(LDFLAGS) -fPIC -shared -Wl,-soname=$(base) -lc $(object) -o $(shared64_lib) rm -f $(object) @echo "Ensure that you have multiarch i386 build tools if you want to build 32-bit library" -gcc -m32 $(CFLAGS) -fPIC -DPIC -c $(source) -o $(object) - -ld -melf_i386 $(LDFLAGS) -shared -soname=$(base) -lc $(object) -o $(shared_lib) + -gcc -m32 $(LDFLAGS) -fPIC -shared -Wl,-soname=$(base) -lc $(object) -o $(shared_lib) else gcc -fPIC -DPIC -c $(source) -o $(object) ld -shared -soname=$(base) -lc $(object) -o $(shared_lib)