You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
365 B

  1. --- a/src/Makefile
  2. +++ b/src/Makefile
  3. @@ -139,7 +139,7 @@ SWIGRUBY = swig -Wall -ruby -o $(SWIGRUB
  4. all: $(LIBA) $(LIBSO) $(LIBPC)
  5. pywrap: all selinuxswig_python_exception.i
  6. - CFLAGS="$(CFLAGS) $(SWIG_CFLAGS)" $(PYTHON) setup.py build_ext
  7. + LDSHARED="$(CC) -shared" CFLAGS="$(CFLAGS) $(SWIG_CFLAGS)" $(PYTHON) setup.py build_ext
  8. rubywrap: all $(SWIGRUBYSO)