Skip to content
This repository has been archived by the owner on Oct 5, 2024. It is now read-only.

Commit

Permalink
Revert some changes
Browse files Browse the repository at this point in the history
  • Loading branch information
emi420 committed Feb 13, 2024
1 parent e4e1ce5 commit 69441e5
Show file tree
Hide file tree
Showing 3 changed files with 2,590 additions and 6 deletions.
21 changes: 21 additions & 0 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,27 @@ EXTRA_DIST = \

DEJATOOL = libunderpass

if ENABLE_PYTHON
EXT := $(shell python3-config --extension-suffix)
DIR := $(shell python3-config --configdir)
noinst_LTLIBRARIES = underpass.la
underpass_la_SOURCES = src/wrappers/python.cc $(libunderpass_la_SOURCES)
underpass_la_LDFADD = $(BOOST_LIBS) libunderpass.la src/validate/libunderpass.la
underpass_la_LDFLAGS = -module -avoid-version -no-undefined -rpath /usr/lib64/ src/validate/libunderpass.la $(BOOST_LIBS)
PY_OBJECTS = $(libunderpass_la_OBJECTS:.lo=.o)
# /usr/lib/python3.9/lib-dynload/underpass.cpython-39-x86_64-linux-gnu.so
install-python: underpass.la
@if test x"$(prefix)" = x"/usr/lib" -a "$(shell whoami)" != "root"; then \
echo "Need to be root!"; \
else \
moddir=$(shell dirname $(DIR))/lib-dynload; \
if test ! -e $${moddir}; then \
$(MDIR_P) $${moddir}; \
fi; \
cp .libs/libunderpass.so $${moddir}/libunderpass$(EXT); \
fi

endif

if ENABLE_DOXYGEN
apidoc:
Expand Down
Loading

0 comments on commit 69441e5

Please sign in to comment.