Fixed library directory for bindings - we need the craptastic .libs libtool dir
This commit is contained in:
parent
52363b4327
commit
ea9e9ae22e
3 changed files with 3 additions and 3 deletions
|
@ -6,7 +6,7 @@ CFLAGS += -fno-strict-aliasing # see the swig docs
|
||||||
ifeq ($(shell arch),x86_64)
|
ifeq ($(shell arch),x86_64)
|
||||||
CFLAGS += -fPIC
|
CFLAGS += -fPIC
|
||||||
endif
|
endif
|
||||||
LDFLAGS += -L$(top_srcdir)/lib/libalpm -lalpm
|
LDFLAGS += -L$(top_srcdir)/lib/libalpm/.libs -lalpm
|
||||||
|
|
||||||
all: libalpm_java.so alpm.jar
|
all: libalpm_java.so alpm.jar
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@ CFLAGS += -I$(top_srcdir)/lib/libalpm
|
||||||
ifeq ($(shell arch),x86_64)
|
ifeq ($(shell arch),x86_64)
|
||||||
CFLAGS += -fPIC
|
CFLAGS += -fPIC
|
||||||
endif
|
endif
|
||||||
LDFLAGS += -L$(top_srcdir)/lib/libalpm -lalpm
|
LDFLAGS += -L$(top_srcdir)/lib/libalpm/.libs -lalpm
|
||||||
LIBDIR += $(shell perl -V|grep site|sed 's/^ *//;s|/usr|$(prefix)|;q')
|
LIBDIR += $(shell perl -V|grep site|sed 's/^ *//;s|/usr|$(prefix)|;q')
|
||||||
|
|
||||||
all: Core.so
|
all: Core.so
|
||||||
|
|
|
@ -7,7 +7,7 @@ CFLAGS += -I$(top_srcdir)/lib/libalpm
|
||||||
ifeq ($(shell arch),x86_64)
|
ifeq ($(shell arch),x86_64)
|
||||||
CFLAGS += -fPIC
|
CFLAGS += -fPIC
|
||||||
endif
|
endif
|
||||||
LDFLAGS += -L$(top_srcdir)/lib/libalpm -lalpm
|
LDFLAGS += -L$(top_srcdir)/lib/libalpm/.libs -lalpm
|
||||||
LIBDIR += $(shell python -c 'from distutils import sysconfig; print sysconfig.get_python_lib()'|sed 's|/usr|$(prefix)|')
|
LIBDIR += $(shell python -c 'from distutils import sysconfig; print sysconfig.get_python_lib()'|sed 's|/usr|$(prefix)|')
|
||||||
|
|
||||||
all: _alpm.so alpm.pyc
|
all: _alpm.so alpm.pyc
|
||||||
|
|
Loading…
Add table
Reference in a new issue