X-Git-Url: http://git.kpe.io/?p=clsql.git;a=blobdiff_plain;f=uffi%2FMakefile;fp=uffi%2FMakefile;h=7599380f1c047befc356d12833a898ef84cdaad2;hp=77203fdfc723150ac9baf5a3b98a149cc14f0e27;hb=8ba880a396dfe787a9aefddc1c011ac2bc8e244a;hpb=f67c4e2a4e5b8371a1b7c1629828999ff909f538 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)